Dela via


SpatialInteractionSource.IsMenuSupported Property

Definition

Gets whether the source supports Menu presses.

public:
 property bool IsMenuSupported { bool get(); };
bool IsMenuSupported();
public bool IsMenuSupported { get; }
var boolean = spatialInteractionSource.isMenuSupported;
Public ReadOnly Property IsMenuSupported As Boolean

Property Value

Boolean

bool

Whether the source supports Menu presses.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

This will be true for most motion controllers and false for other interaction sources.

Applies to