[]
        
(Showing Draft Content)

C1.WPF.Input.C1CheckListItem

C1CheckListItem Class

Visual element used inside a C1CheckList.

Namespace: C1.WPF.Input
Assembly: C1.WPF.Input.4.6.2.dll
Syntax
[TemplatePart(Name = "Content", Type = typeof(CheckBox))]
[TemplateVisualState(Name = "Show", GroupName = "ShowCheckBoxStateStates")]
[TemplateVisualState(Name = "Hide", GroupName = "ShowCheckBoxStateStates")]
public class C1CheckListItem : ListBoxItem, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1CheckListItem()

Initializes a new instance of a C1CheckListItem.

Fields

Name Description
MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

SelectedBackgroundProperty

Identifies the SelectedBackground dependency property.

ShowCheckBoxProperty

Identifies the ShowCheckBox dependency property.

Properties

Name Description
MouseOverBrush

Gets or sets the Brush used to highlight the control when it has the mouse over.

SelectedBackground

Gets or sets the Brush used to highlight the control when it is selected.

ShowCheckBox

Gets or sets a value that indicates whether show the checkbox style for this item.

Methods

Name Description
ChangeVisualStateShowCheckBoxState(bool)

Updates the current visual state of the ShowCheckBoxState visual state group to match the object's properties.

OnApplyTemplate()

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

OnMouseEnter(MouseEventArgs)
OnMouseLeave(MouseEventArgs)