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

This object is passed as a parameter to the ContrastCommand and ContrastInteractiveCommand command.

Definition

Namespace:Telerik.Maui.Controls.ImageEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class ContrastCommandContext : BindableObject

Inheritance: objectContrastCommandContext

Constructors

C#
public ContrastCommandContext()

Fields

ContrastProperty

BindableProperty

Identifies the Contrast property.

C#
public static readonly BindableProperty ContrastProperty

Properties

Gets or sets the strength of the contrast filter in percent. The default value of 0 preserves the original contrast of the image. Positive values increase the contrast, where 100% is the maximum. Negative values decrease the contrast, where -100% is the minimum.

C#
public double Contrast { get; set; }