New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Media.Imaging.Tools

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

C#
public abstract class EffectToolBase : ToolBase, ITool

Inheritance: objectToolBaseEffectToolBase

Derived Classes: ContrastToolHueShiftToolSaturationToolSharpenTool

Implements: ITool

Inherited Members ToolBase.GetCommand()ToolBase.GetContext()ToolBase.IsResetSettingsSupportedToolBase.IsDirty

Constructors

C#
public EffectToolBase()

Properties

Gets whether the tool is changing the image size.

C#
public override bool AffectsLayout { get; }
Property Value:

Indicates whether a tool affects layout.

Overrides: ToolBase.AffectsLayout

Effect

Effect

C#
public abstract Effect Effect { get; }

Gets whether the tool has a preview overlay on the main image.

C#
public override bool IsPreviewOverlay { get; }
Property Value:

Indicates if a tool has a preview overlay.

Overrides: ToolBase.IsPreviewOverlay

Methods

C#
protected virtual void AttachPreviewCore(ToolInitInfo previewInitInfo)
Parameters:previewInitInfoToolInitInfo

Attaches the UI. The method is invoked on tool's execution.

C#
public override void AttachUI(ToolInitInfo previewInitInfo)
Parameters:previewInitInfoToolInitInfo

The preview init info.

Overrides: ToolBase.AttachUI(ToolInitInfo)

C#
protected virtual void DetachPreviewCore()

Detaches the UI. The method is invoked when the tool execution is canceled.

C#
public override void DetachUI()

Overrides: ToolBase.DetachUI()

Gets the tool' settings UI.

C#
public override UIElement GetSettingsUI()
Returns:

UIElement

The UI settings.

Overrides: ToolBase.GetSettingsUI()

Resets the tool' settings if the tool's IsResetSettingsSupported property is true.

C#
public override void ResetSettings()

Overrides: ToolBase.ResetSettings()