Share via


PointerVisualizationSettings.GetForCurrentView Method

Definition

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.

Applies to