Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

PointerVisualizationSettings class

Provides access to the visual feedback settings for pointer input.

Syntax


var pointerVisualizationSettings = Windows.UI.Input.PointerVisualizationSettings;

Attributes

MarshalingBehaviorAttribute(Agile)
StaticAttribute(Windows.UI.Input.IPointerVisualizationSettingsStatics, NTDDI_WIN8)
VersionAttribute(NTDDI_WIN8)

Members

The PointerVisualizationSettings class has these types of members:

Methods

The PointerVisualizationSettings class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetForCurrentView Gets a PointerVisualizationSettings object associated with the current app.

 

Properties

The PointerVisualizationSettings class has these properties.

PropertyAccess typeDescription

IsBarrelButtonFeedbackEnabled

Read/writeGets or sets a value that indicates whether visual feedback is enabled for pen/stylus input when the barrel button is pressed.

IsContactFeedbackEnabled

Read/writeGets or sets a value that indicates whether visual feedback is enabled when a pointer contact is detected.

 

Remarks

Call GetForCurrentView to get a PointerVisualizationSettings object associated with the active app. This object is used to set the visual feedback preferences for the app.

Windows Phone 8

This API is not implemented and will throw an exception if called.

Examples

The following example demonstrates the use of GetForCurrentView to retrieve an instance of PointerVisualizationSettings through which the visual feedback preferences for the current app are set.



var pointerVisualizationSettings = Windows.UI.Input.PointerVisualizationSettings.getForCurrentView();
pointerVisualizationSettings.isContactFeedbackEnabled = false;
pointerVisualizationSettings.isBarrelButtonFeedbackEnabled = false;

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

Object
Windows.UI.Input Classes
Guidelines for visual feedback

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.