Control that shows a gradient color gamut as well as a slider,
allowing the user to chose the color by dragging an indicator.
Namespace:
C1.Silverlight.ExtendedAssembly: C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)
Syntax
C# |
---|
[TemplatePartAttribute(Name = "Alpha", Type = typeof(Slider))] [TemplatePartAttribute(Name = "Hue", Type = typeof(Slider))] [TemplatePartAttribute(Name = "Indicator", Type = typeof(FrameworkElement))] [TemplatePartAttribute(Name = "Pad", Type = typeof(Canvas))] public class C1SpectrumColorPicker : Control |
Visual Basic |
---|
<TemplatePartAttribute(Name := "Alpha", Type := GetType(Slider))> _ <TemplatePartAttribute(Name := "Hue", Type := GetType(Slider))> _ <TemplatePartAttribute(Name := "Indicator", Type := GetType(FrameworkElement))> _ <TemplatePartAttribute(Name := "Pad", Type := GetType(Canvas))> _ Public Class C1SpectrumColorPicker _ Inherits Control |
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.Extended..::..C1SpectrumColorPicker
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.Extended..::..C1SpectrumColorPicker