Class
ConditionalFormatterProperty

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:

cs-api-definition
public class ConditionalFormatterProperty

Inheritance: objectConditionalFormatterProperty

Constructors

ConditionalFormatterProperty()

Declaration

cs-api-definition
public ConditionalFormatterProperty()

Properties

ApplyOnSelectedRows

Determines whether to apply this condition on selected rows.

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public bool ApplyOnSelectedRows { get; set; }

Property Value

bool

CaseSensitive

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public bool CaseSensitive { get; set; }

Property Value

bool

CellBackColor

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color CellBackColor { get; set; }

Property Value

Color

CellFont

Gets or sets the cell font.

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public Font CellFont { get; set; }

Property Value

Font

CellForeColor

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color CellForeColor { get; set; }

Property Value

Color

Enabled

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public bool Enabled { get; set; }

Property Value

bool

RowBackColor

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color RowBackColor { get; set; }

Property Value

Color

RowFont

Gets or sets the font for the entire row.

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public Font RowFont { get; set; }

Property Value

Font

RowForeColor

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
[TypeConverter(typeof(RadColorEditorConverter))]
public Color RowForeColor { get; set; }

Property Value

Color

RowTextAlignment

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public ContentAlignment RowTextAlignment { get; set; }

Property Value

ContentAlignment

TextAlignment

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

Declaration

cs-api-definition
[Browsable(true)]
[Bindable(false)]
public ContentAlignment TextAlignment { get; set; }

Property Value

ContentAlignment

Methods

CopyFrom(BaseFormattingObject)

Initializes from the provided conditional format instance.

Declaration

cs-api-definition
public void CopyFrom(BaseFormattingObject format)

Parameters

format

BaseFormattingObject

CopyTo(BaseFormattingObject)

Copies current settings to the provided conditional format instance.

Declaration

cs-api-definition
public void CopyTo(BaseFormattingObject format)

Parameters

format

BaseFormattingObject