[]
        
(Showing Draft Content)

C1.WPF.Extended.C1BasicColorPickerPart.CreateColorButton

CreateColorButton Method

CreateColorButton(Color)

Override to change the default C1ColorButton used for a Color.

Declaration
protected virtual C1ColorButton CreateColorButton(Color color)
Parameters
Type Name Description
Color color

Color that should be represented.

Returns
Type Description
C1ColorButton

A C1ColorButton for a specific Color.

CreateColorButton(ColorPaletteEntry)

Override to change the default C1ColorButton used for a ColorPaletteEntry.

Declaration
protected virtual C1ColorButton CreateColorButton(ColorPaletteEntry colorEntry)
Parameters
Type Name Description
ColorPaletteEntry colorEntry

ColorPaletteEntry that should be represented.

Returns
Type Description
C1ColorButton

A C1ColorButton for a specific ColorPaletteEntry.