Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public bool ShowHideButton { get; set; }

#Property Value

Type Description
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.

LayoutPanel_HideButton

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