New to Telerik UI for WinFormsStart a free 30-day trial

Contains the formatting properties to apply when some condition is met. (Used inside Conditional formatting form)

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class ConditionalFormatterProperty

Inheritance: objectConditionalFormatterProperty

Constructors

C#
public ConditionalFormatterProperty()

Properties

Determines whether to apply this condition on selected rows.

C#
[Browsable(true)]
[Bindable(false)]
public bool ApplyOnSelectedRows { get; set; }

Determines whether case-sensitive comparisons will be made when evaluating string values.

C#
[Browsable(true)]
[Bindable(false)]
public bool CaseSensitive { get; set; }

Gets or sets the background color to be used for the cell

C#
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color CellBackColor { get; set; }

Gets or sets the cell font.

C#
[Browsable(true)]
[Bindable(false)]
public Font CellFont { get; set; }

Gets or sets the foreground color to be used for the cell

C#
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color CellForeColor { get; set; }

Determines whether the condition is enabled (can be evaluated and applied).

C#
[Browsable(true)]
[Bindable(false)]
public bool Enabled { get; set; }

Gets or sets the background color to be used for the entire row

C#
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color RowBackColor { get; set; }

Gets or sets the font for the entire row.

C#
[Browsable(true)]
[Bindable(false)]
public Font RowFont { get; set; }

Gets or sets the foreground color to be used for the entire row

C#
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color RowForeColor { get; set; }

Gets or sets the alignment to be used for the cell values

C#
[Browsable(true)]
[Bindable(false)]
public ContentAlignment RowTextAlignment { get; set; }

Gets or sets the alignment to be used for the cell values

C#
[Browsable(true)]
[Bindable(false)]
public ContentAlignment TextAlignment { get; set; }

Methods

Initializes from the provided conditional format instance.

C#
public void CopyFrom(BaseFormattingObject format)
Parameters:formatBaseFormattingObject

Copies current settings to the provided conditional format instance.

C#
public void CopyTo(BaseFormattingObject format)
Parameters:formatBaseFormattingObject