NavigationPage.SetNavigationTransitionStyle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetNavigationTransitionStyle(BindableObject, NavigationTransitionStyle, NavigationTransitionStyle) |
Sets the transition style which is used, when popping and pushing pages on the navigation stack. |
SetNavigationTransitionStyle(IPlatformElementConfiguration<macOS,NavigationPage>, NavigationTransitionStyle, NavigationTransitionStyle) |
Sets the transition style which is used, when popping and pushing pages on the navigation stack. |
SetNavigationTransitionStyle(BindableObject, NavigationTransitionStyle, NavigationTransitionStyle)
Sets the transition style which is used, when popping and pushing pages on the navigation stack.
public static void SetNavigationTransitionStyle (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle pushStyle, Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle popStyle);
static member SetNavigationTransitionStyle : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle * Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle -> unit
Parameters
- element
- BindableObject
The platform specific element on which to perform the operation.
- pushStyle
- NavigationTransitionStyle
The new transition style when a page is pushed on the navigation stack.
- popStyle
- NavigationTransitionStyle
The new transition style when a page is popped from the navigation stack.
Applies to
SetNavigationTransitionStyle(IPlatformElementConfiguration<macOS,NavigationPage>, NavigationTransitionStyle, NavigationTransitionStyle)
Sets the transition style which is used, when popping and pushing pages on the navigation stack.
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.macOS,Xamarin.Forms.NavigationPage> SetNavigationTransitionStyle (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.macOS,Xamarin.Forms.NavigationPage> config, Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle pushStyle, Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle popStyle);
static member SetNavigationTransitionStyle : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.macOS, Xamarin.Forms.NavigationPage> * Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle * Xamarin.Forms.PlatformConfiguration.macOSSpecific.NavigationTransitionStyle -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.macOS, Xamarin.Forms.NavigationPage>
Parameters
The platform specific configuration that contains the element on which to perform the operation.
- pushStyle
- NavigationTransitionStyle
The new transition style when a page is pushed on the navigation stack.
- popStyle
- NavigationTransitionStyle
The new transition style when a page is popped from the navigation stack.
Returns
The updated configuration object on which developers can make successive method calls.