[]
        
(Showing Draft Content)

C1.WinUI.Accordion.C1Accordion

C1Accordion Class

Microsoft.UI.Xaml.Controls.ItemsControl that contains C1Expander. It allows only one item to be expanded at a time (similar to the NavigationBar in Outlook).

Inheritance
C1Accordion
Implements
Namespace: C1.WinUI.Accordion
Assembly: C1.WinUI.Accordion.dll
Syntax
public class C1Accordion : C1HeaderedItemsControl, IDisposable

Constructors

Name Description
C1Accordion()

Initializes a new instance of the C1Accordion class.

Fields

Name Description
ExpandDirectionProperty

Identifies the ExpandDirection dependency property.

ExpandIconAlignmentProperty

Identifies the ExpandIconAlignment dependency property.

ExpandIconStyleProperty

Identifies the ExpandIconStyle dependency property.

ExpandIconTemplateProperty

Identifies the ExpandIconTemplate dependency property.

ExpandModeProperty

Identifies the ExpandMode dependency property.

FillProperty

Identifies the Fill dependency property.

HeaderStyleProperty

Identifies the HeaderStyle dependency property.

Properties

Name Description
ExpandDirection

Gets or sets the direction the contained C1Expanders expands.

ExpandIconAlignment

Gets or sets the alignment of the expand icon.

ExpandIconStyle

Gets or sets the style applied to the expand icon.

ExpandIconTemplate

Gets or sets the template of the expand icon.

ExpandMode

Gets or sets the expanding behavior which determines how many items can be expanded.

ExpandedItem

Gets the currently expanded item or null if no item is expanded.

Fill

Gets or sets whether the expanded item should fill the remaining space in the control.

HeaderStyle

Gets or sets the style of the header.

Panel

Gets the panel associated with this items control.

Methods

Name Description
ClearContainerForItemOverride(DependencyObject, object)
Dispose(bool)
GetContainerForItemOverride()
IsItemItsOwnContainerOverride(object)
OnApplyTemplate()
PrepareContainerForItemOverride(DependencyObject, object)

Events

Name Description
IsItemExpandedChanged

Occurs when an item is expanded or collapsed.