[]
C1Expander is a C1HeaderedContentControl with a collapsible/expandable panel. The content is visible by clicking on the header.
public class C1Expander : ContentControl, IDisposable
| Name | Description |
|---|---|
| C1Expander() | Initializes a new instance of the C1Expander class. |
| Name | Description |
|---|---|
| DisabledBrushProperty | Identifies the DisabledBrush dependency property. |
| ExpandDirectionProperty | Identifies the ExpandDirection dependency property. |
| ExpandIconAlignmentProperty | Identifies the ExpandIconAlignment dependency property. |
| ExpandIconStyleProperty | Identifies the ExpandIconStyle dependency property. |
| ExpandIconTemplateProperty | Identifies the ExpandIconTemplate dependency property. |
| ExpandedBackgroundProperty | Identifies the ExpandedBackground dependency property. |
| FocusBrushProperty | Identifies the FocusBrush 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. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| Name | Description |
|---|---|
| DisabledBrush | Gets or sets the Microsoft.UI.Xaml.Media.Brush used to highlight the control when is disabled. |
| 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. |
| ExpandedBackground | Gets or sets the Microsoft.UI.Xaml.Media.Brush that will be used when the control is expanded. |
| FocusBrush | Gets or sets the Microsoft.UI.Xaml.Media.Brush used to highlight the focused control. |
| Header | Gets or sets the header. |
| HeaderStyle | Gets or sets the style of the header. |
| HeaderTemplate | Gets or sets the template of the header. |
| IsDisposed | Gets whether this instance is disposed. |
| IsExpandable | Gets or sets whether the expander can be expanded and collapsed. |
| IsExpanded | Gets or sets whether the expander content is visible. |
| IsFocused | Gets whether the control is focused. |
| IsMouseOver | Gets whether the mouse is over the control. |
| MouseOverBrush | Gets or sets the Microsoft.UI.Xaml.Media.Brush used to highlight the control when it has the mouse over. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| ChangeVisualStateDirection(bool) | Updates the current visual state of the Direction visual state group to match the object's properties. |
| ChangeVisualStateExpansion(bool) | Updates the current visual state of the Expansion visual state group to match the object's properties. |
| ChangeVisualStateIconAlignment(bool) | Updates the current visual state of the IconAlignment visual state group to match the object's properties. |
| Dispose() | |
| Dispose(bool) | |
| Finalize() | Finalizes this instance of the C1Expander class. |
| OnApplyTemplate() |
| Name | Description |
|---|---|
| IsExpandedChanged | Event raised when the IsExpanded property has changed. |
| IsExpandedChanging | Occurs before the C1Expander is expanded. |