Skip to main content

NavigationFrame.SelectedPage Property

Gets or sets the currently selected page.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public NavigationPage SelectedPage { get; set; }

Property Value

Type Default
NavigationPage null

Remarks

Attempts to change the SelectedPage raise the NavigationFrame.SelectedPageChanging event, which can be canceled to restrict navigating to this page. If not canceled, the NavigationFrame.SelectedPageChanged event occurs.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedPage 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