wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-241f26ea.md
Gets or sets whether to display the expand-collapse button that allows showing the AccordionControl in the expand or collapse mode. This is a dependency property.
Namespace : DevExpress.Xpf.Accordion
Assembly : DevExpress.Xpf.Accordion.v25.2.dll
NuGet Package : DevExpress.Wpf.Accordion
public bool IsCollapseButtonVisible { get; set; }
Public Property IsCollapseButtonVisible As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to display the expand-collapse button; otherwise, false.
|
End-users can expand/collapse the AccordionControl by clicking the expand-collapse button in the top right corner:
Set the IsCollapseButtonVisible property to true to show this button:
<dxa:AccordionControl IsCollapseButtonVisible="True"> ... </dxa:AccordionControl>
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsCollapseButtonVisible property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-accordion-customize-appearance/CS/AppearanceCustomization/MainWindow.xaml#L32
ChildrenPath="Nodes" DisplayMemberPath="Header"
IsCollapseButtonVisible="True"
HeaderContent="Header"
See Also