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

BaseNavigationEventArgs.Source Property

Gets a Content Container from which an end-user navigates.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public IContentContainer Source { get; }

#Property Value

Type Description
DevExpress.XtraBars.Docking2010.Views.WindowsUI.IContentContainer

An IContentContainer from which an end-user navigates.

#Remarks

The Source property allows you to get a container from which an end-user navigates. To get the navigation target, use the NavigationEventArgs.Target property instead. When navigating within the same container (e.g., navigating through Documents within a PageGroup), the Target and Source property values are equal. See the Application Hierarchy and Module Navigation topic to learn more.

You can get the source container’s current zoom level via the BaseNavigationEventArgs.SourceContextualZoomLevel property.

See Also