Back to Devexpress

LayoutPanel.ShowExpandButton Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutpanel-097cd628.md

latest2.2 KB
Original Source

LayoutPanel.ShowExpandButton Property

Gets or sets whether the Expand button is displayed when the current panel is auto-hidden. This property is in effect in the In-line auto-hide mode. This is a dependency property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

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

Property Value

TypeDescription
Boolean

true, if the Expand button is displayed when the current panel is auto-hidden; otherwise, false.

|

Remarks

By default, in the In-line auto-hide mode (see DockLayoutManager.AutoHideMode), auto-hidden layout panels display the Expand button. With a click on this button, an end-user can expand the panel up to the entire window client area. You can see the Expand button in the figure below.

The ShowExpandButton property allows you to specify the visibility of the Expand button. When the panel is expanded up to the entire client area, the Collapse button is displayed. See the figure below.

The visibility of the Collapse button is controlled by the LayoutPanel.ShowCollapseButton property.

See Also

ShowCollapseButton

ShowHideButton

LayoutPanel Class

LayoutPanel Members

DevExpress.Xpf.Docking Namespace