[]
        
(Showing Draft Content)

C1.WPF.Input.C1CheckList

C1CheckList Class

A list-based control with optional check boxes for each item, different selection modes and ability to select/unselect all items.

Namespace: C1.WPF.Input
Assembly: C1.WPF.Input.4.6.2.dll
Syntax
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(C1CheckListItem))]
[TemplatePart(Name = "Caption", Type = typeof(CheckBox))]
[TemplatePart(Name = "ScrollViewer", Type = typeof(ScrollViewer))]
[TemplateVisualState(Name = "ShowEnableCaption", GroupName = "ShowCaptionStateStates")]
[TemplateVisualState(Name = "ShowDisableCaption", GroupName = "ShowCaptionStateStates")]
[TemplateVisualState(Name = "HideCaption", GroupName = "ShowCaptionStateStates")]
public class C1CheckList : ListBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage

Constructors

Name Description
C1CheckList()

Initializes a new instance of a C1CheckList.

Fields

Name Description
CaptionStyleProperty

Identifies the CaptionStyle dependency property.

CheckedMemberPathProperty

Identifies the CheckedMemberPath dependency property.

DisabledMemberPathProperty

Identifies the DisabledMemberPath dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

SelectAllCaptionProperty

Identifies the SelectAllCaption dependency property.

SelectedBackgroundProperty

Identifies the SelectedBackground dependency property.

ShowCheckBoxesProperty

Identifies the ShowCheckBoxes dependency property.

ShowSelectAllProperty

Identifies the ShowSelectAll dependency property.

UnSelectAllCaptionProperty

Identifies the UnSelectAllCaption dependency property.

Properties

Name Description
CaptionStyle

Gets or sets a style used for caption CheckBox.

CheckedMemberPath

Gets or sets the name of the property used to control the checkboxes placed next to each item.

DisabledMemberPath

Gets or sets the name of the property used to control the enable or disable status to each item.

MouseOverBrush

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

SelectAllCaption

Gets or sets the caption for checkbox when execute SelectAll.

SelectedBackground

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

ShowCheckBoxes

Gets or sets a value that indicates whether to show the checkboxes for items.

ShowSelectAll

Gets or sets a value that indicates whether show select all UI or not.

UnSelectAllCaption

Gets or sets the caption for checkbox when execute UnSelectAll.

Methods

Name Description
ChangeVisualStateShowCaptionState(bool)

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

GetContainerForItemOverride()
IsItemItsOwnContainerOverride(object)
OnApplyTemplate()

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

PrepareContainerForItemOverride(DependencyObject, object)
SelectAll()

Selects all the items in a C1CheckList.

UnselectAll()

Clears all the selection in a C1CheckList.