wpf-devexpress-dot-xpf-dot-core-dot-tabcontrolviewbase-7637b395.md
Allows you to customize the Header Menu by adding new menu items or removing existing items.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ObservableCollection<IControllerAction> HeaderMenuCustomizations { get; }
Public ReadOnly Property HeaderMenuCustomizations As ObservableCollection(Of IControllerAction)
| Type | Description |
|---|---|
| ObservableCollection<IControllerAction> |
An ObservableCollection object.
|
To add custom items to the TabControlViewBase Header Menu, use the HeaderMenuCustomizations property, as shown in the code snippet below:
<dx:DXTabControl x:Name="tabControl" >
<dx:DXTabControl.View>
<dx:TabControlStretchView ShowHeaderMenu="True">
<dx:TabControlStretchView.HeaderMenuCustomizations>
<dxb:InsertAction Index="0">
<dxb:BarCheckItem Content="Is Selected Item Enabled" IsChecked="{Binding ElementName=tabControl, Path=SelectedContainer.IsEnabled, Mode=TwoWay}"/>
</dxb:InsertAction>
</dx:TabControlStretchView.HeaderMenuCustomizations>
</dx:TabControlStretchView>
</dx:DXTabControl.View>
...
</dx:DXTabControl>
See Also