Extended Library for WPF and Silverlight | ComponentOne
In This Topic
    ColorPicker Template Parts
    In This Topic

     

    In Microsoft Expression Blend, you can view and edit template parts by creating a new template (for example, click the C1ColorPicker control to select it and choose Object | Edit Template | Edit a Copy). Once you've created a new template, the parts of the template will appear in the Parts window:

     

     

    Note that you may have to select the ControlTemplate for its parts to be visible in the Parts window.

    In the Parts window, you can double-click any element to create that part in the template. Once you have done so, the part will appear in the template and the element's icon in the Parts window will change to indicate selection:

     

     

    Template parts available in the C1ColorPicker control include:

     

    Name

    Type

    Description

    Advanced

    FrameworkElement

    Provides a framework of common APIs for objects that participate in WPF layout. Also defines APIs related to data binding, object tree, and object lifetime feature areas in WPF.

    Basic

    FrameworkElement

    Provides a framework of common APIs for objects that participate in WPF layout. Also defines APIs related to data binding, object tree, and object lifetime feature areas in WPF.

    ButtonAdvanced

    ToggleButton

    Base class for controls that can switch states, such as CheckBox and RadioButton.

    ButtonBasic

    ToggleButton

    Base class for controls that can switch states, such as CheckBox and RadioButton.

    DropDown

    Grid

    Defines a flexible grid area that consists of columns and rows.

    InputAlpha

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputBlue

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputGreen

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputHue

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputLuminance

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputRed

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputSaturation

    C1NumericBox

    The C1NumericBox control is a numeric editor that allows you to display and edit numeric values in many formats.

    InputWeb

    TextBox

    Represents a control that can be used to display single-format, multi-line text.

    OkButton

    Button

    Represents a button control.

    Preview

    Rectangle

    Draws a rectangle shape, which can have a stroke and a fill.

    RecentColors

    Grid

    Defines a flexible grid area that consists of columns and rows.

    RecentColorsHeader

    FrameworkElement

    Provides a framework of common APIs for objects that participate in WPF layout. Also defines APIs related to data binding, object tree, and object lifetime feature areas in WPF.

    Root

    FrameworkElement

    Provides a framework of common APIs for objects that participate in WPF layout. Also defines APIs related to data binding, object tree, and object lifetime feature areas in WPF.

    Spectrum

    C1SpectrumColorPicker

    Represents a sliding color picker.

    StandardColors

    Grid

    Defines a flexible grid area that consists of columns and rows.

    ThemeColorsHeader

    Grid

    Defines a flexible grid area that consists of columns and rows.

    ThemeColorsValues

    Grid

    Defines a flexible grid area that consists of columns and rows.