Class
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:

cs-api-definition
public class DataBarShape : Shape

Inheritance: objectDataBarShape

Constructors

DataBarShape()

Initializes a new instance of the DataBarShape class.

Declaration

cs-api-definition
public DataBarShape()

Fields

HeightPercentProperty

Identifies the HeightPercent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeightPercentProperty

Field Value

DependencyProperty

LeftPercentProperty

Identifies the LeftPercent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LeftPercentProperty

Field Value

DependencyProperty

OutOfRangeRuleProperty

Identifies the OutOfRangeRule dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OutOfRangeRuleProperty

Field Value

DependencyProperty

RightPercentProperty

Identifies the RightPercent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RightPercentProperty

Field Value

DependencyProperty

ShowToolTipProperty

Identifies the ShowToolTip dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowToolTipProperty

Field Value

DependencyProperty

Properties

DefiningGeometry

Gets a value that represents the Geometry of the Shape.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public double HeightPercent { get; set; }

Property Value

double

LeftPercent

Gets or sets the percent (from 0 to 1) that represents the offset from the left boundary that the bar shape will have.

Declaration

cs-api-definition
public double LeftPercent { get; set; }

Property Value

double

OutOfRangeRule

Gets or sets the OutOfRangeRule.

Declaration

cs-api-definition
public OutOfRangeRule OutOfRangeRule { get; set; }

Property Value

OutOfRangeRule

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.

Declaration

cs-api-definition
public double RightPercent { get; set; }

Property Value

double

ShowToolTip

Gets or sets a value that determines whether a tooltip should be shown or not.

Declaration

cs-api-definition
public bool ShowToolTip { get; set; }

Property Value

bool

Methods

MeasureOverride(Size)

Overrides the Measure pass to define a specific behavior for measuring.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size