ClassStackedBarItemsControl
An StackedBarItem items control.
Definition
Namespace:Telerik.Windows.Controls.DataBars
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class StackedBarItemsControl : FastItemsControl<StackedBarItem, Grid>
Inheritance: objectFastItemsControlBaseFastItemsControl<StackedBarItem, Grid>StackedBarItemsControl
Inherited Members
Constructors
StackedBarItemsControl()
Initializes a new instance of the StackedBarItemsControl class.
Declaration
public StackedBarItemsControl()
Fields
BarBorderBrushesProperty
Identifies the BarBorderBrushes dependency property.
Declaration
public static readonly DependencyProperty BarBorderBrushesProperty
Field Value
DependencyProperty
BarBorderThicknessProperty
Identifies the BarBorderThickness dependency property.
Declaration
public static readonly DependencyProperty BarBorderThicknessProperty
Field Value
DependencyProperty
BarBrushesProperty
Identifies the BarBrushes dependency property.
Declaration
public static readonly DependencyProperty BarBrushesProperty
Field Value
DependencyProperty
BarHeightPercentProperty
Identifies the BarHeightPercent dependency property.
Declaration
public static readonly DependencyProperty BarHeightPercentProperty
Field Value
DependencyProperty
BarStyleProperty
Identifies the BarStyle dependency property.
Declaration
public static readonly DependencyProperty BarStyleProperty
Field Value
DependencyProperty
ShowToolTipsProperty
Identifies the ShowToolTips dependency property.
Declaration
public static readonly DependencyProperty ShowToolTipsProperty
Field Value
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
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 data bar shape with index 4 is the brush with index 0 and the Stroke of the data bar shape with index 5 is the brush with index 1.
BarBorderThickness
Gets or sets the StrokeThickness of the DataBarShapes.
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
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 data bar shape. For instance if the ItemsSource has 7 items and the BarBrushes collection holds 4 brushes the Fill of the data bar shape with index 3 is the brush with index 3 and the Fill of the data bar shape with index 4 is the brush with index 0.
BarHeightPercent
Gets or sets the height percent (from 0 to 1) of the contained DataBarShapes.
BarStyle
Gets or sets the style that is applied to the DataBarShapes.
ShowToolTips
Gets or sets the ShowToolTips.
Methods
OnItemsChanged()
This method is called whenever items are added or removed.
Declaration
protected override void OnItemsChanged()
Overrides