WPFCustomControls::ColorSwatch Class Reference


Detailed Description

UserControl for selecting a Color.

Shows the current selected Color as the swatch. Opens Max's native ColorPicker when clicked.

List of all members.

Public Member Functions

  ColorSwatch ()
  Constructor.

Static Public Attributes

static readonly DependencyProperty  ColorProperty
  The current selected Color.

Properties

Color  Color [get, set]
  The current selected Color.

Constructor & Destructor Documentation

WPFCustomControls::ColorSwatch::ColorSwatch ( ) [inline]

Constructor.


Member Data Documentation

readonly DependencyProperty WPFCustomControls::ColorSwatch::ColorProperty [static]
Initial value:
        DependencyProperty.Register(
            "Color",
            typeof(Color),
            typeof(ColorSwatch),
            new FrameworkPropertyMetadata(Colors.White, 
                FrameworkPropertyMetadataOptions.BindsTwoWayByDefault) )

The current selected Color.


Property Documentation

Color WPFCustomControls::ColorSwatch::Color [get, set]

The current selected Color.


WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch
WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch WPFCustomControls::ColorSwatch