[]
        
(Showing Draft Content)

C1.WPF.C1ListViewerItem

C1ListViewerItem Class

Visual element used inside a C1ListViewer.

Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
[TemplateVisualState(Name = "Preview", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "Full", GroupName = "PreviewStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
public class C1ListViewerItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1ListViewerItem()

Initializes a new instance of a C1ListViewerItem.

Fields

Name Description
PreviewContentProperty

Identifies the PreviewContent dependency property.

PreviewContentTemplateProperty

Identifies the PreviewContentTemplate dependency property.

StateProperty

Identifies the State dependency property.

Properties

Name Description
PreviewContent

Gets or sets the content of the preview state.

PreviewContentTemplate

Gets or sets the DataTemplate used when in preview state.

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.

OnApplyTemplate()

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

Extension Methods