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

This object is passed as a parameter to the CropCommand and CropInteractiveCommand command.

Definition

Namespace:Telerik.Maui.Controls.ImageEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CropCommandContext : BindableObject

Inheritance: objectCropCommandContext

Constructors

C#
public CropCommandContext()

Fields

AspectRatioProperty

BindableProperty

Identifies the AspectRatio property.

C#
public static readonly BindableProperty AspectRatioProperty

BoundsProperty

BindableProperty

Identifies the Bounds property.

C#
public static readonly BindableProperty BoundsProperty

GeometryProperty

BindableProperty

Identifies the Geometry property.

C#
public static readonly BindableProperty GeometryProperty

Properties

Gets or sets the current aspect ratio.

C#
public AspectRatio AspectRatio { get; set; }

Bounds

Rect

Gets or sets the current crop bounding rectangle.

C#
public Rect Bounds { get; set; }

Gets or sets the geometry of the crop selection.

C#
public RadGeometry Geometry { get; set; }