次の方法で共有


IXRStylusInfo (Compact 2013)

3/28/2014

This class reports stylus device information, such as whether the stylus is inverted.

Syntax

class IXRStylusInfo : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

  IXRStylusInfo

Methods

In addition to the methods inherited fromIXRDependencyObject, this class contains the following methods.

Name

Description

IXRStylusInfo::GetIsInverted

Retrieves a value that indicates whether the stylus is inverted.

IXRStylusInfo::SetIsInverted

Sets a value that indicates whether the stylus is inverted.

IXRStylusInfo::GetDeviceType

Retrieves the device type.

IXRStylusInfo::SetDeviceType

Sets the device type.

Thread Safety

Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

When you create a class instance, use an IXRStylusInfoPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Input.StylusDevice

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Ink Input