Class
ResizeCommandContext

This object is passed as a parameter to the ResizeCommand and ResizeInteractiveCommand command.

Definition

Namespace:Telerik.Maui.Controls.ImageEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ResizeCommandContext : BindableObject

Inheritance: objectResizeCommandContext

Constructors

ResizeCommandContext()

Declaration

cs-api-definition
public ResizeCommandContext()

Fields

HeightProperty

Identifies the Height property.

Declaration

cs-api-definition
public static readonly BindableProperty HeightProperty

Field Value

BindableProperty

IsAspectRatioLockedProperty

Identifies the IsAspectRatioLocked property.

Declaration

cs-api-definition
public static readonly BindableProperty IsAspectRatioLockedProperty

Field Value

BindableProperty

ScaleProperty

Identifies the Scale property.

Declaration

cs-api-definition
public static readonly BindableProperty ScaleProperty

Field Value

BindableProperty

TypeProperty

Identifies the Type property.

Declaration

cs-api-definition
public static readonly BindableProperty TypeProperty

Field Value

BindableProperty

WidthProperty

Identifies the Width property.

Declaration

cs-api-definition
public static readonly BindableProperty WidthProperty

Field Value

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

cs-api-definition
public double Height { get; set; }

Property Value

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

cs-api-definition
public bool IsAspectRatioLocked { get; set; }

Property Value

bool

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

cs-api-definition
public double Scale { get; set; }

Property Value

double

Type

Gets or sets the type of the resize operation. For more information see the ResizeType type.

Declaration

cs-api-definition
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

cs-api-definition
public double Width { get; set; }

Property Value

double