PointerVisualizationSettings.GetForCurrentView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a PointerVisualizationSettings object associated with the current app.
Important
Pointer visualizations are supported by the Desktop device family only.
public:
static PointerVisualizationSettings ^ GetForCurrentView();
static PointerVisualizationSettings GetForCurrentView();
public static PointerVisualizationSettings GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As PointerVisualizationSettings
Returns
The PointerVisualizationSettings object associated with the current app.
Remarks
Each app has a PointerVisualizationSettings object associated with it. When setting the visual feedback preferences, you use the GetForCurrentView method to get the PointerVisualizationSettings object that is associated with the active app. After you have the appropriate PointerVisualizationSettings object, you can set the visual feedback preferences.