ClassSelectionToolSettings
Represents the UI settings for the SelectionTool.
Definition
Namespace:Telerik.Windows.Media.Imaging.Tools.UI
Assembly:Telerik.Windows.Controls.ImageEditor.dll
Syntax:
public class SelectionToolSettings : Control
Inheritance: objectSelectionToolSettings
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
hueShiftEffect
Effect
contrastEffect
Effect
horizontalBlurEffect
verticalBlurEffect
saturationEffect
Effect
sharpenEffect
Effect
invertColorsEffect
Effect
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
hueShiftEffect
Effect
contrastEffect
Effect
horizontalBlurEffect
verticalBlurEffect
saturationEffect
Effect
sharpenEffect
Effect
invertColorsEffect
Effect
imageEditor
color
Color
size
Fields
BrushSizeNumericUpDownName
Declaration
public const string BrushSizeNumericUpDownName = "PART_BrushSizeNumericUpDown"
Field Value
ColorPickerName
Declaration
public const string ColorPickerName = "PART_ColorPicker"
Field Value
InvertColorsToggleButtonName
Declaration
public const string InvertColorsToggleButtonName = "PART_InvertColorsToggleButton"
Field Value
Properties
BrushColor
Declaration
public Color BrushColor { get; set; }
Property Value
Color
SelectionSettingsStackPanel
Declaration
public StackPanel SelectionSettingsStackPanel { get; }
Property Value
StackPanel
SelectionShapes
Declaration
public ObservableCollection<IShape> SelectionShapes { get; }
Property Value
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Events
InvertColorsChanged
Occurs when the user inverts colors.
Declaration
public event EventHandler InvertColorsChanged
Event Value