Control that allows the user to create a personalized color by changing
the different components of the HSL or RGB representation of the color.
Namespace:
C1.Silverlight.ExtendedAssembly: C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)
Syntax
C# |
---|
[TemplatePartAttribute(Name = "InputBlue", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "Preview", Type = typeof(C1CheckeredBorder))] [TemplatePartAttribute(Name = "InputRed", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "InputGreen", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "OkButton", Type = typeof(Button))] [TemplatePartAttribute(Name = "InputLuminance", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "InputHue", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "InputSaturation", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "InputAlpha", Type = typeof(C1NumericBox))] [TemplatePartAttribute(Name = "InputWeb", Type = typeof(C1HexColorBox))] [TemplatePartAttribute(Name = "Spectrum", Type = typeof(C1SpectrumColorPicker))] public class C1AdvancedColorPickerPart : Control |
Visual Basic |
---|
<TemplatePartAttribute(Name := "InputBlue", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "Preview", Type := GetType(C1CheckeredBorder))> _ <TemplatePartAttribute(Name := "InputRed", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "InputGreen", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "OkButton", Type := GetType(Button))> _ <TemplatePartAttribute(Name := "InputLuminance", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "InputHue", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "InputSaturation", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "InputAlpha", Type := GetType(C1NumericBox))> _ <TemplatePartAttribute(Name := "InputWeb", Type := GetType(C1HexColorBox))> _ <TemplatePartAttribute(Name := "Spectrum", Type := GetType(C1SpectrumColorPicker))> _ Public Class C1AdvancedColorPickerPart _ Inherits Control |
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.Extended..::..C1AdvancedColorPickerPart
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.Extended..::..C1AdvancedColorPickerPart