[]
        
(Showing Draft Content)

C1.WinUI.Core.C1HierarchicalPresenter

C1HierarchicalPresenter Class

Inheritance
C1HierarchicalPresenter
Implements
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public class C1HierarchicalPresenter : C1ItemsControl, IDisposable

Constructors

Name Description
C1HierarchicalPresenter()

Initializes a new instance of the C1HierarchicalPresenter class.

Fields

Name Description
HeaderProperty

Identifies the Header dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

Properties

Name Description
Header

Gets or sets the item that labels the control.

HeaderTemplate

Gets or sets the template used to display the contents of the control's header.

IsFocused

Gets whether the control is focused.

IsMouseOver

Gets whether the mouse is over the control.

ItemConverter

The ItemConverter performs the conversion from a C1HierarchicalPresenter instance to its String representation. If not set by the user, the default converter will be used.

ParentCollection

Gets the items collection of this element's parent.

ParentItemsSource

Returns this element's parent ItemsSource Property.

Methods

Name Description
ChangeVisualStateCommon(bool)

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

ClearContainerForItemOverride(DependencyObject, object)
Dispose(bool)
GetContainerForItemOverride()
InitializeItem(C1HierarchicalPresenter)

Initializes a C1HierarchicalPresenter by setting its parent and root elements in the hierarchy.

IsAncestorOf(C1HierarchicalPresenter)

Determines whether the C1HierarchicalPresenter is an ancestor of the descendant element.

IsItemItsOwnContainerOverride(object)
OnApplyTemplate()
OnHeaderChanged()

Called when the value of the Header property changes.

OnItemCleared(ItemPreparedEventArgs)

Raises the C1HierarchicalPresenter.ItemCleared event.

OnItemPrepared(ItemPreparedEventArgs)

Raises the C1HierarchicalPresenter.ItemPrepared event.

PrepareContainerForItemOverride(DependencyObject, object)
ToList<T>()

Creates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation.

ToString()

Events

Name Description
ItemCleared

Occurs when a C1HierarchicalPresenter child item is cleared. (ClearContainerForItemOverride was invoked).

ItemPrepared

Occurs when a C1HierarchicalPresenter child item is prepared (PrepareContainerForItemOverride was invoked).