Skip to main content
A newer version of this page is available. .

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

Declaration

public ObservableCollection<IControllerAction> HeaderMenuCustomizations { get; }

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>

The following code snippets (auto-collected from DevExpress Examples) contain references to the HeaderMenuCustomizations property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also