Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

-ms-touch-select property

Toggles the "gripper" visual elements that enable touch text selection.

This property is read/write.


-ms-touch-select: grippers | none

Property values

One of the following values.


Initial value. Grippers are always on. In addition, selection will start even if an onclick, onmsgesturetap, or onmouseup handler is present.


Grippers are always off.

In addition to hiding the grippers, a Windows Store app using JavaScript does not provide default touch selection functionality to the user.

CSS information

Applies ToAll elements
Initial Valuegrippers


The -ms-touch-select property should only be used by applications that provide their own selection experience. Most other applications should use the -ms-user-select property instead.

If you choose to hide the grippers, you should ensure that users have a mechanism for selecting text via touch. To find out how to do this using JavaScript, see the HTML5 Selection APIs.

This property has no effect on mouse, keyboard, or touchpad interaction.

This property requires Windows 8 or later.

See also

Windows Store apps using JavaScript Samples: HTML scrolling, panning and zooming sample
Internet Explorer Samples: Scrolling, panning, and zooming with touch input



© 2016 Microsoft