New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class ResizeCommandContext : BindableObject

Inheritance: objectResizeCommandContext

Constructors

C#
public ResizeCommandContext()

Fields

HeightProperty

BindableProperty

Identifies the Height property.

C#
public static readonly BindableProperty HeightProperty

Identifies the IsAspectRatioLocked property.

C#
public static readonly BindableProperty IsAspectRatioLockedProperty

ScaleProperty

BindableProperty

Identifies the Scale property.

C#
public static readonly BindableProperty ScaleProperty

TypeProperty

BindableProperty

Identifies the Type property.

C#
public static readonly BindableProperty TypeProperty

WidthProperty

BindableProperty

Identifies the Width property.

C#
public static readonly BindableProperty WidthProperty

Properties

Gets or sets the height of the image in pixels. This property has an effect when the Type property is set to Pixels

C#
public double Height { get; set; }

Gets or sets a value indicating whether the aspect ratio is locked, when changing the Width or Height property, during an interactive resize operation.

C#
public bool IsAspectRatioLocked { get; set; }

Gets or sets the scale factor of the image in percent. This property has an effect when the Type property is set to Percents

C#
public double Scale { get; set; }

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

C#
public ResizeType Type { get; set; }

Gets or sets the width of the image in pixels. This property has an effect when the Type property is set to Pixels

C#
public double Width { get; set; }