Class RadStacked100DataBar
Represents a control that stacks data bars, the lengths of which represent values from an items source, in correspondence to total sum of the values.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public sealed class RadStacked100DataBar : Control
Constructors
RadStacked100DataBar()
Initializes a new instance of the RadStacked100DataBar class.
Declaration
public RadStacked100DataBar()
Fields
BarBorderBrushesProperty
Identifies the BarBorderBrushes dependency property.
Declaration
public static readonly DependencyProperty BarBorderBrushesProperty
Field Value
System.Windows.DependencyProperty
|
BarBorderThicknessProperty
Identifies the BarBorderThickness dependency property.
Declaration
public static readonly DependencyProperty BarBorderThicknessProperty
Field Value
System.Windows.DependencyProperty
|
BarBrushesProperty
Identifies the BarBrushes dependency property.
Declaration
public static readonly DependencyProperty BarBrushesProperty
Field Value
System.Windows.DependencyProperty
|
BarHeightPercentProperty
Identifies the BarHeightPercent dependency property.
Declaration
public static readonly DependencyProperty BarHeightPercentProperty
Field Value
System.Windows.DependencyProperty
|
BarStyleProperty
Identifies the BarStyle dependency property.
Declaration
public static readonly DependencyProperty BarStyleProperty
Field Value
System.Windows.DependencyProperty
|
DataBarItemsProperty
Identifies the DataBarItems dependency property.
Declaration
public static readonly DependencyProperty DataBarItemsProperty
Field Value
System.Windows.DependencyProperty
|
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty
|
ShowToolTipsProperty
Identifies the ShowToolTips dependency property.
Declaration
public static readonly DependencyProperty ShowToolTipsProperty
Field Value
System.Windows.DependencyProperty
|
ToolTipFormatProperty
Identifies the ToolTipFormat dependency property.
Declaration
public static readonly DependencyProperty ToolTipFormatProperty
Field Value
System.Windows.DependencyProperty
|
ToolTipPathProperty
Identifies the ToolTipPath dependency property.
Declaration
public static readonly DependencyProperty ToolTipPathProperty
Field Value
System.Windows.DependencyProperty
|
ValuePathProperty
Identifies the ValuePath dependency property.
Declaration
public static readonly DependencyProperty ValuePathProperty
Field Value
System.Windows.DependencyProperty
|
Properties
BarBorderBrushes
Gets or sets the collection of brushes that are used for the Stroke of the DataBarShapes.
Declaration
public BrushCollection BarBorderBrushes { get; set; }
Property Value
BrushCollection
|
Remarks
Each DataBarShape is assigned a Stroke from the BarBorderBrushes collection. The index of the brush that is assigned corresponds to the index of the data bar shape. For instance if the ItemsSource has 7 items and the BarBorderBrushes collection holds 4 brushes the Stroke of the DataBarShape with index 4 is the brush with index 0 and the Stroke of the DataBarShape with index 5 is the brush with index 1.
BarBorderThickness
Gets or sets the StrokeThickness of the DataBarShapes.
Declaration
public double BarBorderThickness { get; set; }
Property Value
System.Double
|
BarBrushes
Gets or sets the collection of brushes that are used for the Fill of the DataBarShapes.
Declaration
public BrushCollection BarBrushes { get; set; }
Property Value
BrushCollection
|
Remarks
Each DataBarShape is assigned a Fill from the BarBrushes collection. The index of the brush that is assigned corresponds to the index of the DataBarShape. For instance if the ItemsSource has 7 items and the BarBrushes collection holds 4 brushes the Fill of the DataBarShape with index 3 is the brush with index 3 and the Fill of the DataBarShape with index 4 is the brush with index 0.
BarHeightPercent
Gets or sets the height percent (from 0 to 1) that is set to the the DataBarShapes.
Declaration
public double BarHeightPercent { get; set; }
Property Value
System.Double
|
BarStyle
Gets or sets the style that is applied to the DataBarShapes.
Declaration
public Style BarStyle { get; set; }
Property Value
System.Windows.Style
|
DataBarItems
Gets the calculated DataBarDataItems.
Declaration
public IEnumerable<DataBarDataItem> DataBarItems { get; }
Property Value
System.Collections.Generic.IEnumerable<DataBarDataItem>
|
Remarks
This property is set internally and modifying this collection should have no effect. This is a collection of items that contain relevant information about a StackedBarItem.
ItemsSource
Gets or sets the ItemsSource.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable
|
ShowToolTips
Gets or sets the ShowToolTips.
Declaration
public bool ShowToolTips { get; set; }
Property Value
System.Boolean
|
ToolTipFormat
Gets or sets the string used for formatting the tool tip string.
Declaration
public string ToolTipFormat { get; set; }
Property Value
System.String
|
ToolTipPath
Gets or sets the name of the property from which the tool tip content is extracted.
Declaration
public string ToolTipPath { get; set; }
Property Value
System.String
|
ValuePath
Gets or sets the name of the property from which values are extracted.
Declaration
public string ValuePath { get; set; }
Property Value
System.String
|
Methods
MeasureOverride(Size)
Overrides the Measure pass to define a specific behavior for measuring.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size
constraint
|
Returns
System.Windows.Size
|
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |