Class RadDataBar
A control that contains a bar, the length of which represents a value in correspondence to the set minimum, maximum and origin value.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public sealed class RadDataBar : RadDataBarBase
Constructors
RadDataBar()
Fields
AppliedBarBorderBrushProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedBarBorderBrushProperty
Field Value
System.
|
AppliedBarBrushProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedBarBrushProperty
Field Value
System.
|
AppliedLabelMarginProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedLabelMarginProperty
Field Value
System.
|
AppliedOutOfRangeRuleProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedOutOfRangeRuleProperty
Field Value
System.
|
AppliedOutOfRangeTemplateProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedOutOfRangeTemplateProperty
Field Value
System.
|
BarLeftPercentProperty
Identifies the Bar
Declaration
public static readonly DependencyProperty BarLeftPercentProperty
Field Value
System.
|
BarRightPercentProperty
Identifies the Bar
Declaration
public static readonly DependencyProperty BarRightPercentProperty
Field Value
System.
|
LabelDistanceProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelDistanceProperty
Field Value
System.
|
LabelFormatProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelFormatProperty
Field Value
System.
|
LabelPositionProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelPositionProperty
Field Value
System.
|
LabelStyleProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelStyleProperty
Field Value
System.
|
LabelTextProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelTextProperty
Field Value
System.
|
LabelVisibilityProperty
Identifies the Label
Declaration
public static readonly DependencyProperty LabelVisibilityProperty
Field Value
System.
|
NegativeValueBorderBrushProperty
Identifies the Negative
Declaration
public static readonly DependencyProperty NegativeValueBorderBrushProperty
Field Value
System.
|
NegativeValueBrushProperty
Identifies the Negative
Declaration
public static readonly DependencyProperty NegativeValueBrushProperty
Field Value
System.
|
ShowOutOfRangeIndicatorsProperty
Identifies the Show
Declaration
public static readonly DependencyProperty ShowOutOfRangeIndicatorsProperty
Field Value
System.
|
ValueBorderBrushProperty
Identifies the Value
Declaration
public static readonly DependencyProperty ValueBorderBrushProperty
Field Value
System.
|
ValueBrushProperty
Identifies the Value
Declaration
public static readonly DependencyProperty ValueBrushProperty
Field Value
System.
|
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
System.
|
Properties
AppliedBarBorderBrush
Gets the brush that is set to the Stroke property of the Data
Declaration
public Brush AppliedBarBorderBrush { get; }
Property Value
System.
|
Remarks
This property is set internally. If the Value is greater than the Origin
AppliedBarBrush
Gets the brush that is set to the Fill property of the Data
Declaration
public Brush AppliedBarBrush { get; }
Property Value
System.
|
Remarks
This property is set internally. If the Value is greater than the Origin
AppliedLabelMargin
Gets the AppliedLabelMargin. This is the margin for the text block that contains the formatted value string.
Declaration
public Thickness AppliedLabelMargin { get; }
Property Value
System.
|
Remarks
This property is internally set in correspondence to the position of the Data
AppliedOutOfRangeRule
Gets the rule that is applied when the Value is out of range.
Declaration
public OutOfRangeRule AppliedOutOfRangeRule { get; }
Property Value
Remarks
AppliedOutOfRangeTemplate
Gets the template that is applied when the Value is out of range.
Declaration
public DataTemplate AppliedOutOfRangeTemplate { get; }
Property Value
System.
|
Remarks
This property is set internally. If the Value is greater than the Maximum,
the value of this property is the same as the value of the Overflow
BarLeftPercent
Gets the left percent.
Declaration
public double BarLeftPercent { get; }
Property Value
System.
|
Remarks
This property is internally set and is intended to set the Left
BarRightPercent
Gets the right percent.
Declaration
public double BarRightPercent { get; }
Property Value
System.
|
Remarks
This property is internally set and is intended to set the Right
LabelDistance
Gets or sets the minimal distance between the label and the Data
Declaration
public double LabelDistance { get; set; }
Property Value
System.
|
Remarks
If the Label
LabelFormat
Gets or sets the string used for formatting the numeric value.
Declaration
public string LabelFormat { get; set; }
Property Value
System.
|
LabelPosition
Gets or sets the position of the label - at the left hand side, right hand side or at the end of the Data
Declaration
public LabelPosition LabelPosition { get; set; }
Property Value
LabelStyle
Gets or sets the style that is applied to the label.
Declaration
public Style LabelStyle { get; set; }
Property Value
System.
|
LabelText
Gets the text of the label.
Declaration
public string LabelText { get; }
Property Value
System.
|
Remarks
This property is internally set. If you need to, you can use the Label
LabelVisibility
Gets or sets the Visibility of the label.
Declaration
public Visibility LabelVisibility { get; set; }
Property Value
System.
|
NegativeValueBorderBrush
Gets or sets the brush that is set to the Stroke property of the Data
Declaration
public Brush NegativeValueBorderBrush { get; set; }
Property Value
System.
|
NegativeValueBrush
Gets or sets the brush that is set to the Fill property of the Data
Declaration
public Brush NegativeValueBrush { get; set; }
Property Value
System.
|
ShowOutOfRangeIndicators
Gets or sets the ShowOutOfRangeIndicators. When this property is true and the Value is greater
than the Maximum, an arrow is drawn at the right hand side of the Data
Declaration
public bool ShowOutOfRangeIndicators { get; set; }
Property Value
System.
|
Value
Gets or sets the value.
Declaration
public double Value { get; set; }
Property Value
System.
|
ValueBorderBrush
Gets or sets the brush that is set to the Stroke property of the Data
Declaration
public Brush ValueBorderBrush { get; set; }
Property Value
System.
|
ValueBrush
Gets or sets the brush that is set to the Fill property of the Data
Declaration
public Brush ValueBrush { get; set; }
Property Value
System.
|
Methods
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Maximum has changed.
Declaration
protected override void OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
Overrides
OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Minimum has changed.
Declaration
protected override void OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
Overrides
OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Origin
Declaration
protected override void OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
Overrides
UpdateOutOfRangeTemplates()
Checks if the Value is out of range, and if it is - applies the proper out of range template.
Declaration
protected override void UpdateOutOfRangeTemplates()