Class CropTool
Inherited Members
Namespace: Telerik.Windows.Media.Imaging.Tools
Assembly: Telerik.Windows.Controls.ImageEditor.dll
Syntax
public class CropTool : ToolBase, ITool
Constructors
CropTool()
Declaration
public CropTool()
Properties
AffectsLayout
Declaration
public override bool AffectsLayout { get; }
Property Value
System.Boolean
|
Overrides
AspectRatio
Gets or sets the aspect ratio of the crop rectangle. If FixedSize property is set, the value of AspectRatio property will be ignored.
Declaration
public double? AspectRatio { get; set; }
Property Value
System.Nullable<System.Double>
The aspect ratio. |
FixedSize
Gets or sets the size of the crop rectangle. The rectangle cannot be resized. If this property is set, the values of AspectRatio and InitialSize properties will be ignored.
Declaration
public Size? FixedSize { get; set; }
Property Value
System.Nullable<System.Windows.Size>
The size of the crop rectangle. |
InitialSize
Gets or sets the initial size of the crop rectangle. If the AspectRatio property is set and the value of this property does not match the AspectRatio property's value, the value of InitialSize property will be ignored.
Declaration
public Size? InitialSize { get; set; }
Property Value
System.Nullable<System.Windows.Size>
The initial size. |
IsDirty
Declaration
public override bool IsDirty { get; }
Property Value
System.Boolean
|
Overrides
IsPreviewOverlay
Declaration
public override bool IsPreviewOverlay { get; }
Property Value
System.Boolean
|
Overrides
Methods
AttachUI(ToolInitInfo)
Declaration
public override void AttachUI(ToolInitInfo previewInitInfo)
Parameters
ToolInitInfo
previewInitInfo
|
Overrides
DetachUI()
GetCommand()
GetContext()
Declaration
public override object GetContext()
Returns
System.Object
|
Overrides
GetSettingsUI()
Declaration
public override UIElement GetSettingsUI()
Returns
System.Windows.UIElement
|