TabControlViewBase.HeaderMenuCustomizations Property
Allows you to customize the Header Menu by adding new menu items or removing existing items.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
ObservableCollection<IControllerAction> | An ObservableCollection object. |
Remarks
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