New to Telerik UI for WPFStart a free 30-day trial

Represents a control that stacks data bars, the lengths of which represent values from an items source, in correspondence to the set minimum and maximum.

Definition

Constructors

Initializes a new instance of the RadStackedDataBar class.

C#
public RadStackedDataBar()

Fields

Identifies the AppliedOverflowTemplate dependency property.

C#
public static readonly DependencyProperty AppliedOverflowTemplateProperty

Identifies the AppliedUnderflowTemplate dependency property.

C#
public static readonly DependencyProperty AppliedUnderflowTemplateProperty

BarBorderBrushesProperty

DependencyProperty

Identifies the BarBorderBrushes dependency property.

C#
public static readonly DependencyProperty BarBorderBrushesProperty

BarBrushesProperty

DependencyProperty

Identifies the BarBrushes dependency property.

C#
public static readonly DependencyProperty BarBrushesProperty

DataBarItemsProperty

DependencyProperty

Identifies the DataBarItems dependency property.

C#
public static readonly DependencyProperty DataBarItemsProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

ShowToolTipsProperty

DependencyProperty

Identifies the ShowToolTips dependency property.

C#
public static readonly DependencyProperty ShowToolTipsProperty

ToolTipFormatProperty

DependencyProperty

Identifies the ToolTipFormat dependency property.

C#
public static readonly DependencyProperty ToolTipFormatProperty

ToolTipPathProperty

DependencyProperty

Identifies the ToolTipPath dependency property.

C#
public static readonly DependencyProperty ToolTipPathProperty

ValuePathProperty

DependencyProperty

Identifies the ValuePath dependency property.

C#
public static readonly DependencyProperty ValuePathProperty

Properties

Gets the overflow template that is applied.

C#
public DataTemplate AppliedOverflowTemplate { get; }
Remarks:

This property is set internally. If the positive sum is greater than the Maximum, the value of this property is the same as the value of the OverflowTemplate property. If the positive sum is less than the Maximum, the value of this property is set to null so that an overflow indication is not shown.

Gets the underflow template that is applied.

C#
public DataTemplate AppliedUnderflowTemplate { get; }
Remarks:

This property is set internally. If the negative sum is less than the Minimum, the value of this property is the same as the value of the UnderflowTemplate property. If the negative sum is greater than the Minimum, the value of this property is set to null so that an underflow indication is not shown.

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

C#
public BrushCollection BarBorderBrushes { get; set; }
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.

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

C#
public BrushCollection BarBrushes { get; set; }
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.

Gets the calculated DataBarDataItems.

C#
public IEnumerable<DataBarDataItem> DataBarItems { get; }
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.

Gets or sets the ItemsSource.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets a value indicating whether tool tips should be shown.

C#
public bool ShowToolTips { get; set; }

Gets or sets the string used for formatting the tool tip string.

C#
public string ToolTipFormat { get; set; }

Gets or sets the name of the property from which the tool tip content is extracted.

C#
public string ToolTipPath { get; set; }

Gets or sets the name of the property from which values are extracted.

C#
public string ValuePath { get; set; }

Methods

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the maximum has changed.

C#
protected override void OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Overrides: RadDataBarBase.OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs)

Called when the minimum has changed.

C#
protected override void OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Overrides: RadDataBarBase.OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs)

Called when the origin value has changed.

C#
protected override void OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Overrides: RadDataBarBase.OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs)

Updates the applied out of range templates. If the sum of the negative values is less than the Minimum the AppliedUnderflowTemplate is set accordingly, so that an underflow indication is shown. If the sum of the positive values is greater than the Maximum the AppliedOverflowTemplate is set accordingly, so that an overflow indication is shown.

C#
protected override void UpdateOutOfRangeTemplates()

Overrides: RadDataBarBase.UpdateOutOfRangeTemplates()