Back to Devexpress

LayoutPanel.ShowHideButton Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutpanel-af8a78a1.md

latest2.0 KB
Original Source

LayoutPanel.ShowHideButton Property

Gets or sets whether the Hide 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 ShowHideButton { get; set; }
vb
Public Property ShowHideButton As Boolean

Property Value

TypeDescription
Boolean

true, if the Hide 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 Hide button when expanded. With a click on this button, an end-user can collapse the expanded panel. You can see the Hide button in the figure below.

Set the ShowHideButton property to false to prevent the Hide button from being displayed. If the button is not displayed, an end-user can still collapse the expanded panel by clicking the panel tab.

See Also

AutoHideMode

ShowCollapseButton

ShowExpandButton

LayoutPanel Class

LayoutPanel Members

DevExpress.Xpf.Docking Namespace