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

IContentContainerDefaultProperties.ShowContextActionBarOnActivating Property

Gets or sets whether this Content Container should automatically display its context Navigation Bar upon activation.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

DefaultBoolean ShowContextActionBarOnActivating { get; set; }

#Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether this Content Container should automatically display its context Navigation Bar upon activation.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

If the ShowContextActionBarOnActivating property equals DefaultBoolean.True, the container automatically displays its context navigation bar when an end-user navigates to this container. The Context navigation bar is the bottom navigation bar that contains actions whose Type property equals ActionType.Context (see the Navigation Bars topic to learn more). The ShowContextActionBarOnActivating property has no effect if the container has no custom navigation bar actions or only actions of the Navigation type.

The DefaultBoolean.Default value indicates that this container acts according to the global setting, specified via the IContentContainerProperties.ShowContextActionBarOnActivating property.

To place a custom action on a navigation bar, add it to the BaseContentContainer.Actions or WindowsUIView.ContentContainerActions collection.

See Also