[]
        
(Showing Draft Content)

C1.WPF.Extended.C1HexColorBox

C1HexColorBox Class

Text box that shows a color in its hexadecimal representation.

Inheritance
C1HexColorBox
Namespace: C1.WPF.Extended
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
public class C1HexColorBox : C1TextBoxBase

Constructors

Name Description
C1HexColorBox()

Initializes a new instance of a C1HexColorBox.

Fields

Name Description
ColorProperty

Identifies the Color dependency property.

ShowAlphaChannelProperty

Identifies the ShowAlphaChannel dependency property.

ShowSharpPrefixProperty

Identifies the ShowSharpPrefix dependency property.

Properties

Name Description
Color

Gets or sets the color whose hexadecimal representation is displayed.

CopyCommand

Copy command which is used for ContextMenu.

CutCommand

Cut command which is used for ContextMenu.

PasteCommand

Paste command which is used for ContextMenu.

ShowAlphaChannel

Gets or sets whether the alpha channel must be shown.

ShowSharpPrefix

Gets or sets whether the sharp prefix must be shown.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1HexColorBox control when a new template is applied.

Events

Name Description
ColorChanged

Event raised when the Color property has changed.