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

This object is passed as a parameter to the FilterCommand and FilterInteractiveCommand command.

Definition

Namespace:Telerik.Maui.Controls.ImageEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class FilterCommandContext : BindableObject

Inheritance: objectFilterCommandContext

Constructors

C#
public FilterCommandContext()

Fields

BlurProperty

BindableProperty

Identifies the Blur property.

C#
public static readonly BindableProperty BlurProperty

BrightnessProperty

BindableProperty

Identifies the Brightness property.

C#
public static readonly BindableProperty BrightnessProperty

ContrastProperty

BindableProperty

Identifies the Contrast property.

C#
public static readonly BindableProperty ContrastProperty

HueProperty

BindableProperty

Identifies the Hue property.

C#
public static readonly BindableProperty HueProperty

SaturationProperty

BindableProperty

Identifies the Saturation property.

C#
public static readonly BindableProperty SaturationProperty

SharpenProperty

BindableProperty

Identifies the Sharpen property.

C#
public static readonly BindableProperty SharpenProperty

Properties

Gets or sets the radius of the blur filter in pixels. The default value of 0 preserves the original sharpness of the image. Positive values increase the strength of the blur filter.

C#
public double Blur { get; set; }

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

C#
public double Brightness { get; set; }

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; }

Gets or sets the strength of the hue filter in percent. The default value of 0 preserves the original hue of the image. Positive values shift the hue in positive direction, where 100% is the maximum. Negative values shift the hue in negative direction, where -100% is the minimum.

C#
public double Hue { get; set; }

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

C#
public double Saturation { get; set; }

Gets or sets the radius of the sharpen filter in pixels. The default value of 0 preserves the original sharpness of the image. Positive values increase the strength of the sharpen filter.

C#
public double Sharpen { get; set; }