[]
        
(Showing Draft Content)

C1.WPF.TileView.C1TileViewItem

C1TileViewItem Class

A selectable item inside a C1TileView.

Inheritance
C1TileViewItem
Namespace: C1.WPF.TileView
Assembly: C1.WPF.TileView.4.6.2.dll
Syntax
[TemplatePart(Name = "Presenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "StateButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "Header", Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = "Tiled", GroupName = "TiledStates")]
[TemplateVisualState(Name = "Maximized", GroupName = "TiledStates")]
[TemplateVisualState(Name = "Minimized", GroupName = "TiledStates")]
public class C1TileViewItem : C1HeaderedContentControl

Constructors

Name Description
C1TileViewItem()

Initializes a new instance of a C1TileViewItem.

Fields

Name Description
ContentMaximizedProperty

Identifies the ContentMaximized dependency property.

ContentMinimizedProperty

Identifies the ContentMinimized dependency property.

ContentTemplateMaximizedProperty

Identifies the ContentTemplateMaximized dependency property.

ContentTemplateMaximizedSelectorProperty

Identifies the ContentTemplateMaximizedSelector dependency property.

ContentTemplateMinimizedProperty

Identifies the ContentTemplateMinimized dependency property.

ContentTemplateMinimizedSelectorProperty

Identifies the ContentTemplateMinimizedSelector dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

HeaderTemplateSelectorProperty

Identifies the HeaderTemplateSelector dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

TiledStateProperty

Identifies the TiledState dependency property.

Properties

Name Description
ContentMaximized

Gets or sets the content used when the C1TileViewItem is maximized item. If null, Content is used.

ContentMinimized

Gets or sets the content used when another C1TileViewItem is maximized. If null, Content is used.

ContentTemplateMaximized

Gets or sets the DataTemplate used for ContentMaximized.

ContentTemplateMaximizedSelector

Gets or sets a data template selector that provides custom logic for choosing the template used to display the content of the maximized item.

ContentTemplateMinimized

Gets or sets the DataTemplate used for ContentMinimized.

ContentTemplateMinimizedSelector

Gets or sets a data template selector that provides custom logic for choosing the template used to display the content of the minimized item.

FocusBrush

Gets or sets the Brush used to highlight the focused control.

HeaderTemplateSelector

Gets or sets a data template selector that provides custom logic for choosing the template used to display the header.

MouseOverBrush

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

PressedBrush

Gets or sets the Brush used to paint a button when it is pressed.

TiledState

Gets or sets the current role of the C1TileViewItem.

Methods

Name Description
ChangeVisualStateTiled(bool)

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

OnApplyTemplate()

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

OnCreateAutomationPeer()

Gets an AutomationPeer object used for testing the control.