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.SourceContextualZoomLevel Property

Gets the current zoom level of a source Content Container.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public ContextualZoomLevel SourceContextualZoomLevel { get; }

#Property Value

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

A ContextualZoomLevel enumerator value that is the current zoom level of a source container.

#Remarks

The source container is a Content Container from which an end-user navigates. You can obtain a source container via the BaseNavigationEventArgs.Source property when handling navigation events, such as the WindowsUIView.NavigatedFrom or WindowsUIView.NavigatedTo events. The SourceContextualZoomLevel property gets a source container’s WindowsUIView.ZoomLevel.

To obtain the zoom level of a container to which an end-user navigates, use the NavigationEventArgs.TargetContextualZoomLevel property instead.

See the Application Hierarchy and Module Navigation topic for more info.

See Also