Class
StackedBarItemsControl

An StackedBarItem items control.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class StackedBarItemsControl : FastItemsControl<StackedBarItem, Grid>

Inheritance: objectRadControlFastItemsControlBaseFastItemsControl<StackedBarItem, Grid>StackedBarItemsControl

Inherited Members FastItemsControl<StackedBarItem, Grid>.ItemsSourcePropertyFastItemsControl<StackedBarItem, Grid>.ItemStylePropertyFastItemsControl<StackedBarItem, Grid>.OnApplyTemplate()FastItemsControl<StackedBarItem, Grid>.OnItemsChanged()FastItemsControl<StackedBarItem, Grid>.OnItemAdded(StackedBarItem, object)FastItemsControl<StackedBarItem, Grid>.OnItemRemoved(StackedBarItem, object)FastItemsControl<StackedBarItem, Grid>.ItemsSourceFastItemsControl<StackedBarItem, Grid>.ItemStyleFastItemsControl<StackedBarItem, Grid>.ChildrenFastItemsControl<StackedBarItem, Grid>.HostPanelFastItemsControlBase.OnApplyTemplate()FastItemsControlBase.ControlRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.OnCreateAutomationPeer()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.ApplyTemplateCore()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

StackedBarItemsControl()

Initializes a new instance of the StackedBarItemsControl class.

Declaration

cs-api-definition
public StackedBarItemsControl()

Fields

BarBorderBrushesProperty

Identifies the BarBorderBrushes dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BarBorderBrushesProperty

Field Value

DependencyProperty

BarBorderThicknessProperty

Identifies the BarBorderThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BarBorderThicknessProperty

Field Value

DependencyProperty

BarBrushesProperty

Identifies the BarBrushes dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BarBrushesProperty

Field Value

DependencyProperty

BarHeightPercentProperty

Identifies the BarHeightPercent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BarHeightPercentProperty

Field Value

DependencyProperty

BarStyleProperty

Identifies the BarStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BarStyleProperty

Field Value

DependencyProperty

ShowToolTipsProperty

Identifies the ShowToolTips dependency property.

Declaration

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

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

Declaration

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

Property Value

double

BarBrushes

Gets or sets the collection of brushes that are used for the Fill of the DataBarShapes.

Declaration

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

Declaration

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

Property Value

double

BarStyle

Gets or sets the style that is applied to the DataBarShapes.

Declaration

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

Property Value

double

ShowToolTips

Gets or sets the ShowToolTips.

Declaration

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

Property Value

double

Methods

OnItemsChanged()

This method is called whenever items are added or removed.

Declaration

cs-api-definition
protected override void OnItemsChanged()

Overrides FastItemsControl<StackedBarItem, Grid>.OnItemsChanged()