Dela via


FrameNavigationOptions Class

Definition

Represents options for a frame navigation, including whether it is recorded in the navigation stack and what transition animation is used.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FrameNavigationOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class FrameNavigationOptions
Public Class FrameNavigationOptions
Inheritance
Object IInspectable FrameNavigationOptions
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

FrameNavigationOptions is used as a parameter of the Frame.NavigateToType method.

Constructors

FrameNavigationOptions()

Initializes a new instance of the FrameNavigationOptions class.

Properties

IsNavigationStackEnabled

Gets or sets a value that indicates whether navigation is recorded in the Frame's ForwardStack or BackStack.

TransitionInfoOverride

Gets or sets a value that indicates the animated transition associated with the navigation.

Applies to

See also