InkToolbarRulerButton
InkToolbarRulerButton
InkToolbarRulerButton
InkToolbarRulerButton
Class
Definition
Represents an InkToolbar button that sets the state of the built-in ruler tool to on or off.
public : class InkToolbarRulerButton : InkToolbarToggleButton, IInkToolbarRulerButtonpublic class InkToolbarRulerButton : InkToolbarToggleButton, IInkToolbarRulerButtonPublic Class InkToolbarRulerButton Inherits InkToolbarToggleButton Implements IInkToolbarRulerButton// This API is not available in Javascript.
- Inheritance
-
InkToolbarRulerButtonInkToolbarRulerButtonInkToolbarRulerButtonInkToolbarRulerButton
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
Remarks
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 ruler (InkToolbarRulerButton ) button. Custom toggles (InkToolbarCustomToggleButton ) are added here.
Features are not mutually exclusive and can be used concurrently with other active tools.
Constructors
InkToolbarRulerButton() InkToolbarRulerButton() InkToolbarRulerButton() InkToolbarRulerButton()
Initializes a new instance of the InkToolbarRulerButton class.
public : InkToolbarRulerButton()public InkToolbarRulerButton()Public Sub New()// This API is not available in Javascript.
- See Also
-
Properties
Ruler Ruler Ruler Ruler
Gets the stencil associated with the InkToolbarRulerButton.
public : InkPresenterRuler Ruler { get; }public InkPresenterRuler Ruler { get; }Public ReadOnly Property Ruler As InkPresenterRuler// This API is not available in Javascript.
The stencil associated with the InkToolbarRulerButton.
- See Also
-
RulerProperty RulerProperty RulerProperty RulerProperty
Identifies the Ruler dependency property.
public : static DependencyProperty RulerProperty { get; }public static DependencyProperty RulerProperty { get; }Public Static ReadOnly Property RulerProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Ruler dependency property.
- See Also
See Also
- Pen and stylus interactions
- Add an InkToolbar to a Universal Windows Platform (UWP) app
- Get Started Tutorial: Support ink in your UWP app
- InkToolbarToggleButton InkToolbarToggleButton InkToolbarToggleButton InkToolbarToggleButton
- Ink sample (JavaScript)
- Get Started Tutorial: Support ink in your UWP app
- Coloring book sample
- Family notes sample