-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Controls.InkToolbarHighlighterButton |
winrt class |
Represents an InkToolbar toggle button control that activates the built-in highlighter pen.
The highlighter draws a semi-transparent stroke with a Rectangle PenTip.
The InkToolbar consists of two distinct groups of button types:
-
One group of "tool" buttons containing the built-in drawing (InkToolbarBallpointPenButton, InkToolbarPencilButton), erasing (InkToolbarEraserButton), and highlighting (InkToolbarHighlighterButton) buttons. Custom tools (InkToolbarCustomPenButton and InkToolbarCustomToolButton) are added here.
Feature selection is mutually exclusive.
-
A second group of "toggle" buttons containing the built-in stencil (InkToolbarStencilButton) button (or the InkToolbarRulerButton button). Custom toggles (InkToolbarCustomToggleButton) are added here.
Features are not mutually exclusive and can be used concurrently with other active tools.
InkToolbarHighlighterButton inherits from InkToolbarPenButton.
By default, the stroke height is 36 pixels and the width is 12 pixels.
The size (in Device-Independent Pixels) of the highlighter stroke is obtained from the InkDrawingAttributes setting for Size —the stroke height is set to Size.Width and the stroke width is set to Size.Width/3.
Pen and stylus interactions, Add an InkToolbar to a Universal Windows Platform (UWP) app, Get Started Tutorial: Support ink in your UWP app, Ink sample (JavaScript), Get Started Tutorial: Support ink in your UWP app, Coloring book sample, Family notes sample