TabControlViewBase.NewButtonShowMode Property
Gets or sets where to show the New button. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public NewButtonShowMode NewButtonShowMode { get; set; }
#Property Value
Type | Description |
---|---|
New |
An DevExpress. The default is New |
Available values:
Name | Description |
---|---|
No |
The New Button is not shown. |
In |
The New Button is shown in the Header Area. |
In |
The New Button is located inside the Tab Panel, next to tab item headers. |
In |
The New Button is shown in the Tab Panel and Header Area simultaneously. |
#Remarks
The DXTabControl has the Hide and New buttons that provide the capability to hide\add tab items.
Below is a list of all possible locations.
NoWhere - the New Button is not shown.
InHeaderArea - the New Button is located inside the Header Area.
InTabPanel - the New Button is located inside the Tab Panel, next to tab item headers.
InHeaderAreaAndTabPanel - the New Button is shown in the Tab Panel and Header Area simultaneously.