Class ColorBarItem
Represents a dependency object that indicates the color bar.
Inheritance
System.Object
ColorBarItem
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class ColorBarItem : DependencyObject, INotifyPropertyChanged
Constructors
ColorBarItem()
Declaration
public ColorBarItem()
Fields
BackgroundProperty
The DependencyProperty for Background property.
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconHeightProperty
The DependencyProperty for IconHeight property.
Declaration
public static readonly DependencyProperty IconHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconWidthProperty
The DependencyProperty for IconWidth property.
Declaration
public static readonly DependencyProperty IconWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelProperty
The DependencyProperty for Label property.
Declaration
public static readonly DependencyProperty LabelProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
The DependencyProperty for Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
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
Background
Gets or sets background for color bar icon.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
IconHeight
Gets or sets height for color bar icon
Declaration
public double IconHeight { get; set; }
Property Value
Type |
---|
System.Double |
IconWidth
Gets or sets width for color bar icon
Declaration
public double IconWidth { get; set; }
Property Value
Type |
---|
System.Double |
Label
Gets or sets Label for color bar icon.
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
Orientation
Gets or sets orientation for color bar item.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type |
---|
System.Windows.Controls.Orientation |
ShowLabel
Gets or sets a value that indicates whether to show or hide the label.
Declaration
public bool ShowLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged
See Also
System.Windows.DependencyObject
System.ComponentModel.INotifyPropertyChanged