Class
SelectionToolSettings

Represents the UI settings for the SelectionTool.

Definition

Namespace:Telerik.Windows.Media.Imaging.Tools.UI

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

cs-api-definition
public class SelectionToolSettings : Control

Inheritance: objectSelectionToolSettings

Constructors

SelectionToolSettings(Effect, Effect, HorizontalBlurEffect, VerticalBlurEffect, Effect, Effect, Effect, RadImageEditor)

Declaration

cs-api-definition
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor)

Parameters

hueShiftEffect

Effect

contrastEffect

Effect

horizontalBlurEffect

HorizontalBlurEffect

verticalBlurEffect

VerticalBlurEffect

saturationEffect

Effect

sharpenEffect

Effect

invertColorsEffect

Effect

imageEditor

RadImageEditor

SelectionToolSettings(Effect, Effect, HorizontalBlurEffect, VerticalBlurEffect, Effect, Effect, Effect, RadImageEditor, Color, double)

Declaration

cs-api-definition
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor, Color color, double size)

Parameters

hueShiftEffect

Effect

contrastEffect

Effect

horizontalBlurEffect

HorizontalBlurEffect

verticalBlurEffect

VerticalBlurEffect

saturationEffect

Effect

sharpenEffect

Effect

invertColorsEffect

Effect

imageEditor

RadImageEditor

color

Color

size

double

Fields

BrushSizeNumericUpDownName

Declaration

cs-api-definition
public const string BrushSizeNumericUpDownName = "PART_BrushSizeNumericUpDown"

Field Value

string

ColorPickerName

Declaration

cs-api-definition
public const string ColorPickerName = "PART_ColorPicker"

Field Value

string

InvertColorsToggleButtonName

Declaration

cs-api-definition
public const string InvertColorsToggleButtonName = "PART_InvertColorsToggleButton"

Field Value

string

Properties

BrushColor

Declaration

cs-api-definition
public Color BrushColor { get; set; }

Property Value

Color

BrushSize

Declaration

cs-api-definition
public double BrushSize { get; set; }

Property Value

double

IsAutoResetSettingsEnabled

Declaration

cs-api-definition
public bool IsAutoResetSettingsEnabled { get; }

Property Value

bool

IsDrawingEnabled

Declaration

cs-api-definition
public bool IsDrawingEnabled { get; }

Property Value

bool

IsRatioLocked

Declaration

cs-api-definition
public bool IsRatioLocked { get; }

Property Value

bool

SelectedShape

Declaration

cs-api-definition
public IShape SelectedShape { get; }

Property Value

IShape

SelectionSettingsStackPanel

Declaration

cs-api-definition
public StackPanel SelectionSettingsStackPanel { get; }

Property Value

StackPanel

SelectionShapes

Declaration

cs-api-definition
public ObservableCollection<IShape> SelectionShapes { get; }

Property Value

ObservableCollection<IShape>

ShouldInvertColors

Declaration

cs-api-definition
public bool ShouldInvertColors { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Events

InvertColorsChanged

Occurs when the user inverts colors.

Declaration

cs-api-definition
public event EventHandler InvertColorsChanged

Event Value

EventHandler