Class ResizeCommandContext
This object is passed as a parameter to the ResizeCommand and ResizeInteractiveCommand command.
Inheritance
Namespace: Telerik.Maui.Controls.ImageEditor
Assembly: Telerik.Maui.Controls.dll
Syntax
public class ResizeCommandContext : BindableObject
Constructors
ResizeCommandContext()
Declaration
public ResizeCommandContext()
Fields
HeightProperty
Identifies the Height property.
Declaration
public static readonly BindableProperty HeightProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsAspectRatioLockedProperty
Identifies the IsAspectRatioLocked property.
Declaration
public static readonly BindableProperty IsAspectRatioLockedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ScaleProperty
Identifies the Scale property.
Declaration
public static readonly BindableProperty ScaleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TypeProperty
Identifies the Type property.
Declaration
public static readonly BindableProperty TypeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
WidthProperty
Identifies the Width property.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Height
Gets or sets the height of the image in pixels. This property has an effect when the Type property is set to Pixels
Declaration
public double Height { get; set; }
Property Value
System.Double
|
IsAspectRatioLocked
Gets or sets a value indicating whether the aspect ratio is locked, when changing the Width or Height property, during an interactive resize operation.
Declaration
public bool IsAspectRatioLocked { get; set; }
Property Value
System.Boolean
|
Scale
Gets or sets the scale factor of the image in percent. This property has an effect when the Type property is set to Percents
Declaration
public double Scale { get; set; }
Property Value
System.Double
|
Type
Gets or sets the type of the resize operation. For more information see the ResizeType type.
Declaration
public ResizeType Type { get; set; }
Property Value
ResizeType
|
Width
Gets or sets the width of the image in pixels. This property has an effect when the Type property is set to Pixels
Declaration
public double Width { get; set; }
Property Value
System.Double
|