Click or drag to resize
ITool Interface
Represents an abstraction of a tool.

Namespace: Telerik.Windows.Media.Imaging.Tools
Assembly: Telerik.Windows.Controls.ImageEditor (in Telerik.Windows.Controls.ImageEditor.dll) Version: 2017.2.614.40 (2017.2.614.40)
public interface ITool

The ITool type exposes the following members.

Public methodAttachUI
Attaches the UI. The method is invoked on tool's execution.
Public methodDetachUI
Detaches the UI. The method is invoked when the tool execution is canceled.
Public methodGetCommand
Gets the tool's associated command.
Public methodGetContext
Gets the tool's command context.
Public methodGetSettingsUI
Gets the tool' settings UI.
Public methodResetSettings
Resets the tool' settings if the tool’s IsResetSettingsSupported property is true.
Public propertyAffectsLayout
Gets whether the tool is changing the image size.
Public propertyIsDirty
Gets whether the tool has made any changes on the image.
Public propertyIsPreviewOverlay
Gets whether the tool has a preview overlay on the main image.
Public propertyIsResetSettingsSupported
Specifies whether the settings of a tool can be reset. The common implementation of a tool returns true.
See Also