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

Represents the UI settings for the SelectionTool.

Definition

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

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

C#
public class SelectionToolSettings : Control

Inheritance: objectSelectionToolSettings

Constructors

C#
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor, Color color, double size)
Parameters:hueShiftEffectEffectcontrastEffectEffecthorizontalBlurEffectHorizontalBlurEffectverticalBlurEffectVerticalBlurEffectsaturationEffectEffectsharpenEffectEffectinvertColorsEffectEffectimageEditorRadImageEditorcolorColorsizedouble
C#
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor)
Parameters:hueShiftEffectEffectcontrastEffectEffecthorizontalBlurEffectHorizontalBlurEffectverticalBlurEffectVerticalBlurEffectsaturationEffectEffectsharpenEffectEffectinvertColorsEffectEffectimageEditorRadImageEditor

Fields

C#
public const string BrushSizeNumericUpDownName = "PART_BrushSizeNumericUpDown"
C#
public const string ColorPickerName = "PART_ColorPicker"
C#
public const string InvertColorsToggleButtonName = "PART_InvertColorsToggleButton"

Properties

C#
public Color BrushColor { get; set; }
C#
public double BrushSize { get; set; }
C#
public bool IsAutoResetSettingsEnabled { get; }
C#
public bool IsDrawingEnabled { get; }
C#
public bool IsRatioLocked { get; }
C#
public IShape SelectedShape { get; }
C#
public StackPanel SelectionSettingsStackPanel { get; }
C#
public ObservableCollection<IShape> SelectionShapes { get; }
C#
public bool ShouldInvertColors { get; set; }

Methods

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Events

Occurs when the user inverts colors.

C#
public event EventHandler InvertColorsChanged