public static class NavigationSelector Adapts a WPF single-selection control to a shared navigation region.
Remarks
Select existing models with borrowed Replace requests. A rejected request restores the region's current selection; a newer selection supersedes an older request. Unloading cancels pending selection and detaches region handlers. A TabControl gets a default NavigationHost content template if no content template or selector was supplied. Do not also navigate from a SelectedItem setter.
Fields
RegionProperty
public static readonly DependencyProperty RegionProperty Identifies the attached region property.
Methods
GetRegion
public static INavigationRegion? GetRegion(Selector selector) Gets the region selected by the control.
SetRegion
public static void SetRegion(Selector selector, INavigationRegion? region) Sets the region selected by the control.