[]
        
(Showing Draft Content)

C1.Blazor.Accordion.C1Expander

C1Expander Class

C1Expander is a C1HeaderedContentControl with a collapsible/expandable panel. The content is visible by clicking on the header.

Inheritance
C1Expander
Namespace: C1.Blazor.Accordion
Assembly: C1.Blazor.Accordion.dll
Syntax
public class C1Expander : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
C1Expander()

Initializes a new instance of the C1Expander 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.

HeaderProperty

Identifies the Header dependency property.

HeaderStyleProperty

Identifies the HeaderStyle dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

IsExpandableProperty

Identifies the IsExpandable dependency property.

IsExpandedProperty

Identifies the IsExpanded dependency property.

Properties

Name Description
ChildContent

Gets or sets the content of the control.

ExpandDirection

Gets or sets the direction the expander 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.

Header

Gets or sets the header.

HeaderStyle

Gets or sets the style of the header.

HeaderTemplate

Gets or sets the template of the header.

IsExpandable

Gets or sets whether the expander can be expanded and collapsed.

IsExpanded

Gets or sets whether the expander content is visible.

IsExpandedChanged

Gets or sets the callback called when the IsExpanded property has changed.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
OnAfterRender(bool)
OnInitialized()