Udostępnij za pośrednictwem


InkToolbar.ActiveTool Property

Definition

Gets or sets the currently selected feature in the "tools" group of the InkToolbar (see remarks). This property provides access to the following objects:

Features in this group are mutually exclusive: selecting a feature deselects the currently active feature.

Note

InkToolbarRulerButton and InkToolbarCustomToggleButton objects work in conjunction with the active feature and are not exposed to the ActiveTool property.

public:
 property InkToolbarToolButton ^ ActiveTool { InkToolbarToolButton ^ get(); void set(InkToolbarToolButton ^ value); };
InkToolbarToolButton ActiveTool();

void ActiveTool(InkToolbarToolButton value);
public InkToolbarToolButton ActiveTool { get; set; }
var inkToolbarToolButton = inkToolbar.activeTool;
inkToolbar.activeTool = inkToolbarToolButton;
Public Property ActiveTool As InkToolbarToolButton

Property Value

The currently selected feature. By default, this is the first button on the InkToolbar.

Remarks

The InkToolbar consists of two distinct groups of button types:

Feature selection is mutually exclusive.

Features are not mutually exclusive and can be used concurrently with other active tools.

Applies to

See also