Udostępnij za pośrednictwem


SpatialNavigationStartedEventArgs.IsNavigatingX Property

Definition

Gets whether the navigation gesture the user is performing involves motion on the horizontal axis.

public:
 property bool IsNavigatingX { bool get(); };
bool IsNavigatingX();
public bool IsNavigatingX { get; }
var boolean = spatialNavigationStartedEventArgs.isNavigatingX;
Public ReadOnly Property IsNavigatingX As Boolean

Property Value

Boolean

bool

Whether the gesture involves horizontal navigation.

Remarks

If the user has moved their hand or motion controller so as to snap to vertical rails, for example, this will return false.

Applies to