Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsUIView.ContentContainerActionCustomization Event

Allows you to customize default Navigation Bar Actions.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event ContentContainerActionCustomizationEventHandler ContentContainerActionCustomization

#Event Data

The ContentContainerActionCustomization event's data class is DevExpress.XtraBars.Docking2010.Views.WindowsUI.ContentContainerActionCustomizationEventArgs.

#Remarks

The ContentContainerActionCustomization event occurs between the WindowsUIView.NavigationBarsShowing and WindowsUIView.NavigationBarsShown event. Handle this event and call the Remove method to delete a custom action, like ‘Home’ or ‘Back’.

Actions specific to TileContainers and SplitGroups are defined in the TileContainerAction and SplitGroupAction classes respectively. All the other actions are defined in the ContentContainerAction class.

To customize individual Content Containers handle the BaseContentContainer.ActionCustomization event instead.

See Also