[]
        
(Showing Draft Content)

C1.WPF.ListView.ListViewItemView

ListViewItemView Class

Visual element used inside a C1ListView.

Inheritance
ListViewItemView
Namespace: C1.WPF.ListView
Assembly: C1.WPF.ListView.dll
Syntax
[TemplatePart(Name = "Hinting", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "HintingCheckMark", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "CheckBox", Type = typeof(C1CheckBox))]
[TemplatePart(Name = "Content", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Preview", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "Full", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "Selected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "Unselected", GroupName = "SelectionStates")]
public class ListViewItemView : C1ContentControl

Constructors

Name Description
ListViewItemView()

Initializes a new instance of the ListViewItemView class.

Fields

Name Description
CursorBorderBrushProperty

Identifies the CursorBorderBrush dependency property.

IsCursorProperty

Identifies the IsCursor dependency property.

IsSelectedProperty

Identifies the IsSelected dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PreviewContentProperty

Identifies the PreviewContent dependency property.

PreviewContentTemplateProperty

Identifies the PreviewContentTemplate dependency property.

SelectedBackgroundProperty

Identifies the SelectedBackground dependency property.

ShowCheckBoxProperty

Identifies the ShowCheckBox dependency property.

StateProperty

Identifies the State dependency property.

Properties

Name Description
CursorBorderBrush

Gets or sets the Brush used to highlight the border of the item used as cursor.

IsCursor

Specifies whether the item is the cursor.

IsFocused

Gets whether the control is focused.

IsSelected

Specifies whether item is selected.

MouseOverBrush

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

PreviewContent

Gets or sets the content of the preview state.

PreviewContentTemplate

Gets or sets the DataTemplate used when in preview state.

SelectedBackground

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

ShowCheckBox

Show hide Checkbox.

State

Gets or sets the state of the item, which can be Preview or Full.

Methods

Name Description
ChangeVisualStateCommon(bool)

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

ChangeVisualStatePreview(bool)

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

ChangeVisualStateSelection(bool)

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

Dispose(bool)
OnApplyTemplate()
OnPropertyChanged(DependencyPropertyChangedEventArgs)

OnPropertyChanged