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.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
[TelerikToolboxCategory("Data Visualization")]
public sealed class RadStacked100DataBar : Control
Inheritance: objectRadStacked100DataBar
Constructors
Initializes a new instance of the RadStacked100DataBar class.
public RadStacked100DataBar()
Fields
BarBorderBrushesProperty
DependencyProperty
Identifies the BarBorderBrushes dependency property.
public static readonly DependencyProperty BarBorderBrushesProperty
BarBorderThicknessProperty
DependencyProperty
Identifies the BarBorderThickness dependency property.
public static readonly DependencyProperty BarBorderThicknessProperty
BarBrushesProperty
DependencyProperty
Identifies the BarBrushes dependency property.
public static readonly DependencyProperty BarBrushesProperty
BarHeightPercentProperty
DependencyProperty
Identifies the BarHeightPercent dependency property.
public static readonly DependencyProperty BarHeightPercentProperty
BarStyleProperty
DependencyProperty
Identifies the BarStyle dependency property.
public static readonly DependencyProperty BarStyleProperty
DataBarItemsProperty
DependencyProperty
Identifies the DataBarItems dependency property.
public static readonly DependencyProperty DataBarItemsProperty
ItemsSourceProperty
DependencyProperty
Identifies the ItemsSource dependency property.
public static readonly DependencyProperty ItemsSourceProperty
ShowToolTipsProperty
DependencyProperty
Identifies the ShowToolTips dependency property.
public static readonly DependencyProperty ShowToolTipsProperty
ToolTipFormatProperty
DependencyProperty
Identifies the ToolTipFormat dependency property.
public static readonly DependencyProperty ToolTipFormatProperty
ToolTipPathProperty
DependencyProperty
Identifies the ToolTipPath dependency property.
public static readonly DependencyProperty ToolTipPathProperty
ValuePathProperty
DependencyProperty
Identifies the ValuePath dependency property.
public static readonly DependencyProperty ValuePathProperty
Properties
Gets or sets the collection of brushes that are used for the Stroke of the DataBarShapes.
public BrushCollection BarBorderBrushes { get; set; }
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 StrokeThickness of the DataBarShapes.
public double BarBorderThickness { get; set; }
Gets or sets the collection of brushes that are used for the Fill of the DataBarShapes.
public BrushCollection BarBrushes { get; set; }
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 or sets the height percent (from 0 to 1) that is set to the the DataBarShapes.
public double BarHeightPercent { get; set; }
BarStyle
Style
Gets or sets the style that is applied to the DataBarShapes.
public Style BarStyle { get; set; }
Gets the calculated DataBarDataItems.
public IEnumerable<DataBarDataItem> DataBarItems { get; }
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.
public IEnumerable ItemsSource { get; set; }
Gets or sets the ShowToolTips.
public bool ShowToolTips { get; set; }
Gets or sets the string used for formatting the tool tip string.
public string ToolTipFormat { get; set; }
Gets or sets the name of the property from which the tool tip content is extracted.
public string ToolTipPath { get; set; }
Methods
Overrides the Measure pass to define a specific behavior for measuring.
protected override Size MeasureOverride(Size constraint)
Size
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.