DocumentGroup.ClosePageButtonShowMode Property
Gets or sets whether Close buttons are displayed in individual tab pages and the tab container's header. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v14.2.dll
#Declaration
[XtraSerializableProperty]
public ClosePageButtonShowMode ClosePageButtonShowMode { get; set; }
#Property Value
Type | Description |
---|---|
Close |
A Close |
#Remarks
Close buttons can be displayed in the tab container's header and individual tab pages. Use the ClosePageButtonShowMode to specify the visibility of Close buttons. If this property is set to a value that allows a Close button to be displayed in the tab container's header or tab page, this button can still be hidden via the BaseLayoutItem.ShowCloseButton property.
Clicking a Close button hides the corresponding panel, moving it to the DockLayoutManager.ClosedPanels collection.