Class SelectionToolSettings
Represents the UI settings for the SelectionTool.
Inheritance
Namespace: Telerik.Windows.Media.Imaging.Tools.UI
Assembly: Telerik.Windows.Controls.ImageEditor.dll
Syntax
public class SelectionToolSettings : Control
Constructors
SelectionToolSettings(Effect, Effect, HorizontalBlurEffect, VerticalBlurEffect, Effect, Effect, Effect, RadImageEditor)
Declaration
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor)
Parameters
System.Windows.Media.Effects.Effect
hueShiftEffect
|
System.Windows.Media.Effects.Effect
contrastEffect
|
HorizontalBlurEffect
horizontalBlurEffect
|
VerticalBlurEffect
verticalBlurEffect
|
System.Windows.Media.Effects.Effect
saturationEffect
|
System.Windows.Media.Effects.Effect
sharpenEffect
|
System.Windows.Media.Effects.Effect
invertColorsEffect
|
RadImageEditor
imageEditor
|
SelectionToolSettings(Effect, Effect, HorizontalBlurEffect, VerticalBlurEffect, Effect, Effect, Effect, RadImageEditor, Color, Double)
Declaration
public SelectionToolSettings(Effect hueShiftEffect, Effect contrastEffect, HorizontalBlurEffect horizontalBlurEffect, VerticalBlurEffect verticalBlurEffect, Effect saturationEffect, Effect sharpenEffect, Effect invertColorsEffect, RadImageEditor imageEditor, Color color, double size)
Parameters
System.Windows.Media.Effects.Effect
hueShiftEffect
|
System.Windows.Media.Effects.Effect
contrastEffect
|
HorizontalBlurEffect
horizontalBlurEffect
|
VerticalBlurEffect
verticalBlurEffect
|
System.Windows.Media.Effects.Effect
saturationEffect
|
System.Windows.Media.Effects.Effect
sharpenEffect
|
System.Windows.Media.Effects.Effect
invertColorsEffect
|
RadImageEditor
imageEditor
|
System.Windows.Media.Color
color
|
System.Double
size
|
Fields
BrushSizeNumericUpDownName
Declaration
public const string BrushSizeNumericUpDownName = "PART_BrushSizeNumericUpDown"
Field Value
System.String
|
ColorPickerName
Declaration
public const string ColorPickerName = "PART_ColorPicker"
Field Value
System.String
|
InvertColorsToggleButtonName
Declaration
public const string InvertColorsToggleButtonName = "PART_InvertColorsToggleButton"
Field Value
System.String
|
Properties
BrushColor
Declaration
public Color BrushColor { get; set; }
Property Value
System.Windows.Media.Color
|
BrushSize
Declaration
public double BrushSize { get; set; }
Property Value
System.Double
|
IsAutoResetSettingsEnabled
Declaration
public bool IsAutoResetSettingsEnabled { get; }
Property Value
System.Boolean
|
IsDrawingEnabled
Declaration
public bool IsDrawingEnabled { get; }
Property Value
System.Boolean
|
IsRatioLocked
Declaration
public bool IsRatioLocked { get; }
Property Value
System.Boolean
|
SelectedShape
SelectionSettingsStackPanel
Declaration
public StackPanel SelectionSettingsStackPanel { get; }
Property Value
System.Windows.Controls.StackPanel
|
SelectionShapes
Declaration
public ObservableCollection<IShape> SelectionShapes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<IShape>
|
ShouldInvertColors
Declaration
public bool ShouldInvertColors { get; set; }
Property Value
System.Boolean
|
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Events
InvertColorsChanged
Occurs when the user inverts colors.
Declaration
public event EventHandler InvertColorsChanged
Event Type
System.EventHandler
|