ClassDataBarShape
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
DataBarShape()
Initializes a new instance of the DataBarShape class.
Declaration
public DataBarShape()
Fields
HeightPercentProperty
Identifies the HeightPercent dependency property.
Declaration
public static readonly DependencyProperty HeightPercentProperty
Field Value
DependencyProperty
LeftPercentProperty
Identifies the LeftPercent dependency property.
Declaration
public static readonly DependencyProperty LeftPercentProperty
Field Value
DependencyProperty
OutOfRangeRuleProperty
Identifies the OutOfRangeRule dependency property.
Declaration
public static readonly DependencyProperty OutOfRangeRuleProperty
Field Value
DependencyProperty
RightPercentProperty
Identifies the RightPercent dependency property.
Declaration
public static readonly DependencyProperty RightPercentProperty
Field Value
DependencyProperty
ShowToolTipProperty
Identifies the ShowToolTip dependency property.
Declaration
public static readonly DependencyProperty ShowToolTipProperty
Field Value
DependencyProperty
Properties
DefiningGeometry
Gets a value that represents the Geometry of the Shape.
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
Geometry
The Geometry of the Shape.
HeightPercent
Gets or sets the percent (from 0 to 1) that represents the height of the bar shape.
LeftPercent
Gets or sets the percent (from 0 to 1) that represents the offset from the left boundary that the bar shape will have.
OutOfRangeRule
Gets or sets the OutOfRangeRule.
Declaration
public OutOfRangeRule OutOfRangeRule { get; set; }
Property Value
Remarks
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.
RightPercent
Gets or sets the percent (from 0 to 1) that represents the offset from the top boundary that the bar shape will have.
ShowToolTip
Gets or sets a value that determines whether a tooltip should be shown or not.
Methods
MeasureOverride(Size)
Overrides the Measure pass to define a specific behavior for measuring.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Returns
Size