Class ColorBar
Represents the class for the color bar
Inheritance
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
public class ColorBar : Control
Constructors
ColorBar()
Initializes a new instance of the ColorBar class.
Declaration
public ColorBar()
Fields
ColorProperty
Identifies ColorBar. Color dependency property.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | Type: Color |
Properties
Color
Gets or sets the value of the Color dependency property.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color | Type: Color |
Methods
OnApplyTemplate()
Called when an internal process or application calls ApplyTemplate, which is used to build the current template's visual tree.
Declaration
public override void OnApplyTemplate()
OnGotMouseCapture(MouseEventArgs)
Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnGotMouseCapture(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The MouseEventArgs that contains the event data. |
OnLostMouseCapture(MouseEventArgs)
Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class.
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The MouseEventArgs that contains the event data. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when MouseLeftButtonUp event is raised.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The MouseButtonEventArgs that contains the event data. |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when PreviewMouseLeftButtonDown event is raised.
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The MouseButtonEventArgs that contains the event data. |
Events
ColorChanged
Event that is raised when Color property is changed.
Declaration
public event PropertyChangedCallback ColorChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SliderValueChanged
Event that is raised when SliderValueHSV property is changed.
Declaration
public event PropertyChangedCallback SliderValueChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |