menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartColorBar - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartColorBar

    Represents a items control that display the control with color elements.

    Inheritance
    System.Object
    ChartColorBar
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class ChartColorBar : ItemsControl

    Constructors

    ChartColorBar()

    Initializes a new instance of the ChartColorBar class.

    Declaration
    public ChartColorBar()

    Fields

    DockPositionProperty

    The DependencyProperty for DockPosition property.

    Declaration
    public static readonly DependencyProperty DockPositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowLabelProperty

    The DependencyProperty for ShowLabel property.

    Declaration
    public static readonly DependencyProperty ShowLabelProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    DockPosition

    Gets or sets the position of the color bar.

    Declaration
    public ChartDock DockPosition { get; set; }
    Property Value
    Type
    ChartDock

    ShowLabel

    Gets or sets whether range label shown in color bar

    Declaration
    public bool ShowLabel { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    UpdateColorBarItemsSource()

    Update color bar items source

    Declaration
    protected virtual void UpdateColorBarItemsSource()

    See Also

    System.Windows.Controls.ItemsControl
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved