Back to Devexpress

AccordionControl.IsCollapseButtonVisible Property

wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-241f26ea.md

latest2.7 KB
Original Source

AccordionControl.IsCollapseButtonVisible Property

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

Declaration

csharp
public bool IsCollapseButtonVisible { get; set; }
vb
Public Property IsCollapseButtonVisible As Boolean

Property Value

TypeDescription
Boolean

true, to display the expand-collapse button; otherwise, false.

|

Remarks

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:

xaml
<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

xml
ChildrenPath="Nodes" DisplayMemberPath="Header"
IsCollapseButtonVisible="True"
HeaderContent="Header"

See Also

AccordionControl Class

AccordionControl Members

DevExpress.Xpf.Accordion Namespace