[]
        
(Showing Draft Content)

C1.Blazor.Accordion.C1Accordion

C1Accordion Class

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

Namespace: C1.Blazor.Accordion
Assembly: C1.Blazor.Accordion.dll
Syntax
public class C1Accordion : C1HeaderedItemsControl, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

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.

ItemStyleProperty

Identifies the ItemStyle 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.

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.

IsItemExpandedChanged

Occurs when an item is expanded or collapsed.

ItemStyle

Gets or sets the style applied to the accordion items.

Panel

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)

Render the tree children.

Dispose(bool)
OnAfterRender(bool)