DataBarShape
This class is intended to represent the bar of a RadDataBar.
Definition
Namespace:Telerik.Windows.Controls.DataBars
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class DataBarShape : Shape
Inheritance: objectDataBarShape
Constructors
Initializes a new instance of the DataBarShape class.
public DataBarShape()
Fields
HeightPercentProperty
DependencyProperty
Identifies the HeightPercent dependency property.
public static readonly DependencyProperty HeightPercentProperty
LeftPercentProperty
DependencyProperty
Identifies the LeftPercent dependency property.
public static readonly DependencyProperty LeftPercentProperty
OutOfRangeRuleProperty
DependencyProperty
Identifies the OutOfRangeRule dependency property.
public static readonly DependencyProperty OutOfRangeRuleProperty
RightPercentProperty
DependencyProperty
Identifies the RightPercent dependency property.
public static readonly DependencyProperty RightPercentProperty
ShowToolTipProperty
DependencyProperty
Identifies the ShowToolTip dependency property.
public static readonly DependencyProperty ShowToolTipProperty
Properties
DefiningGeometry
Geometry
Gets a value that represents the Geometry of the Shape.
protected override Geometry DefiningGeometry { get; }
The Geometry of the Shape.
Gets or sets the percent (from 0 to 1) that represents the height of the bar shape.
public double HeightPercent { get; set; }
Gets or sets the percent (from 0 to 1) that represents the offset from the left boundary that the bar shape will have.
public double LeftPercent { get; set; }
Gets or sets the OutOfRangeRule.
public OutOfRangeRule OutOfRangeRule { get; set; }
Depending on the value of this property an arrow might be drawn at the left or right hand side of the bar shape. The purpose of the arrow is for the RadDataBar to denote that its value is out of the specified range.
Gets or sets the percent (from 0 to 1) that represents the offset from the top boundary that the bar shape will have.
public double RightPercent { get; set; }
Gets or sets a value that determines whether a tooltip should be shown or not.
public bool ShowToolTip { get; set; }
Methods
Overrides the Measure pass to define a specific behavior for measuring.
protected override Size MeasureOverride(Size availableSize)
Size