skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadStackedDataBar

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.

Inheritance
System.Object
RadDataBarBase
RadStackedDataBar
Inherited Members
RadDataBarBase.MinimumProperty
RadDataBarBase.MaximumProperty
RadDataBarBase.OriginValueProperty
RadDataBarBase.BarHeightPercentProperty
RadDataBarBase.AxisStrokeProperty
RadDataBarBase.AxisVisibilityProperty
RadDataBarBase.BarStyleProperty
RadDataBarBase.BarBorderThicknessProperty
RadDataBarBase.AppliedAxisVisibilityProperty
RadDataBarBase.AxisStyleProperty
RadDataBarBase.AppliedAxisMarginProperty
RadDataBarBase.UnderflowTemplateProperty
RadDataBarBase.OverflowTemplateProperty
RadDataBarBase.MeasureOverride(Size)
RadDataBarBase.NormalizeValue(Double)
RadDataBarBase.NormalizeAndCoerceValue(Double)
RadDataBarBase.Minimum
RadDataBarBase.Maximum
RadDataBarBase.OriginValue
RadDataBarBase.BarHeightPercent
RadDataBarBase.AxisStroke
RadDataBarBase.AxisVisibility
RadDataBarBase.AppliedAxisVisibility
RadDataBarBase.AxisStyle
RadDataBarBase.AppliedAxisMargin
RadDataBarBase.BarStyle
RadDataBarBase.BarBorderThickness
RadDataBarBase.UnderflowTemplate
RadDataBarBase.OverflowTemplate
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

[TelerikToolboxCategory("Data Visualization")]
public sealed class RadStackedDataBar : RadDataBarBase

Constructors

RadStackedDataBar()

Initializes a new instance of the RadStackedDataBar class.

Declaration
public RadStackedDataBar()

Fields

AppliedOverflowTemplateProperty

Identifies the AppliedOverflowTemplate dependency property.

Declaration
public static readonly DependencyProperty AppliedOverflowTemplateProperty
Field Value
System.Windows.DependencyProperty

AppliedUnderflowTemplateProperty

Identifies the AppliedUnderflowTemplate dependency property.

Declaration
public static readonly DependencyProperty AppliedUnderflowTemplateProperty
Field Value
System.Windows.DependencyProperty

BarBorderBrushesProperty

Identifies the BarBorderBrushes dependency property.

Declaration
public static readonly DependencyProperty BarBorderBrushesProperty
Field Value
System.Windows.DependencyProperty

BarBrushesProperty

Identifies the BarBrushes dependency property.

Declaration
public static readonly DependencyProperty BarBrushesProperty
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

AppliedOverflowTemplate

Gets the overflow template that is applied.

Declaration
public DataTemplate AppliedOverflowTemplate { get; }
Property Value
System.Windows.DataTemplate

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.

AppliedUnderflowTemplate

Gets the underflow template that is applied.

Declaration
public DataTemplate AppliedUnderflowTemplate { get; }
Property Value
System.Windows.DataTemplate

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.

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.

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.

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 a value indicating whether tool tips should be shown.

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

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.

OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs)

Called when the maximum has changed.

Declaration
protected override void OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.Windows.DependencyPropertyChangedEventArgs e

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

Overrides
RadDataBarBase.OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs)

OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs)

Called when the minimum has changed.

Declaration
protected override void OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.Windows.DependencyPropertyChangedEventArgs e

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

Overrides
RadDataBarBase.OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs)

OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs)

Called when the origin value has changed.

Declaration
protected override void OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.Windows.DependencyPropertyChangedEventArgs e

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

Overrides
RadDataBarBase.OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs)

UpdateOutOfRangeTemplates()

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.

Declaration
protected override void UpdateOutOfRangeTemplates()
Overrides
RadDataBarBase.UpdateOutOfRangeTemplates()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.