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)
C#
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor)
Fields
C#
public const string BrushSizeNumericUpDownName = "PART_BrushSizeNumericUpDown"
C#
public const string ColorPickerName = "PART_ColorPicker"
C#
public const string InvertColorsToggleButtonName = "PART_InvertColorsToggleButton"
Properties
BrushColor
Color
C#
public Color BrushColor { get; set; }
C#
public bool IsAutoResetSettingsEnabled { get; }
C#
public bool IsDrawingEnabled { get; }
C#
public bool IsRatioLocked { get; }
C#
public IShape SelectedShape { get; }
SelectionSettingsStackPanel
StackPanel
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)
The RoutedEventArgs that contains the event data.
Events
Occurs when the user inverts colors.
C#
public event EventHandler InvertColorsChanged