InkToolbar.Children Property
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 the collection of custom buttons displayed on the InkToolbar.
DependencyObjectCollection Children();
public DependencyObjectCollection Children { get; }
var dependencyObjectCollection = inkToolbar.children;
Public ReadOnly Property Children As DependencyObjectCollection
Property Value
A collection of InkToolbar custom buttons.
Remarks
Children returns only the number of buttons on the InkToolbar that have been added manually (see ActiveTool and InitialControls). The default InkToolbar does not add any buttons to the value of this property.
Children does not include buttons declared in markup.
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.