Control that shows a range of predefined colors from a specified palette.

Namespace:  C1.Silverlight.Extended
Assembly:  C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)

Syntax

C#
[TemplatePartAttribute(Name = "ThemeColorsValues", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "StandardColors", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "ThemeColorsHeader", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "RecentColors", Type = typeof(Grid))]
[StyleTypedPropertyAttribute(Property = "ColorContainerStyle", StyleTargetType = typeof(ItemsControl))]
[TemplatePartAttribute(Name = "RecentColorsHeader", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "TransparentColor", Type = typeof(Grid))]
public class C1BasicColorPickerPart : Control
Visual Basic
<TemplatePartAttribute(Name := "ThemeColorsValues", Type := GetType(Grid))> _
<TemplatePartAttribute(Name := "StandardColors", Type := GetType(Grid))> _
<TemplatePartAttribute(Name := "ThemeColorsHeader", Type := GetType(Grid))> _
<TemplatePartAttribute(Name := "RecentColors", Type := GetType(Grid))> _
<StyleTypedPropertyAttribute(Property := "ColorContainerStyle", StyleTargetType := GetType(ItemsControl))> _
<TemplatePartAttribute(Name := "RecentColorsHeader", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "TransparentColor", Type := GetType(Grid))> _
Public Class C1BasicColorPickerPart _
	Inherits Control

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Silverlight.Extended..::..C1BasicColorPickerPart

See Also