Class ConditionalFormattingObject
Contains information about the condition and the formatting properties to apply.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ConditionalFormattingObject : BaseFormattingObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChangingEx, IEquatable<BaseFormattingObject>
Constructors
ConditionalFormattingObject()
Creates a new instance of the ConditionalFormattingObject class.
Declaration
public ConditionalFormattingObject()
ConditionalFormattingObject(String, ConditionTypes, String, String, Boolean)
Initializes a new instance of the ConditionalFormattingObject class.
Declaration
public ConditionalFormattingObject(string name, ConditionTypes type, string tvalue1, string tvalue2, bool applyToRow)
Parameters
System. Formatting object name. |
Condition The condition type. |
System. Left value of the condition. |
System. Right value of the condition. |
System. Determines if the condition should be applied on a row. |
Properties
CaseSensitive
Determines whether case-sensitive comparisons will be made when evaluating string values.
Declaration
public bool CaseSensitive { get; set; }
Property Value
System.
|
ConditionType
Gets or sets a value containing condition's type
Declaration
public ConditionTypes ConditionType { get; set; }
Property Value
TValue1
Gets or sets a value containing condition's left value
Declaration
public string TValue1 { get; set; }
Property Value
System.
|
TValue2
Gets or sets a value containing condition's right value
Declaration
public string TValue2 { get; set; }
Property Value
System.
|
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
System.
|
Overrides
Copy(BaseFormattingObject)
Copies the source's settings to this instance.
Declaration
public override void Copy(BaseFormattingObject source)
Parameters
Base
|
Overrides
Evaluate(GridViewRowInfo, GridViewColumn)
Evaluates the condition specified by this object against the actualValue.
Declaration
public override bool Evaluate(GridViewRowInfo row, GridViewColumn column)
Parameters
Grid RadGridView row. |
Grid RadGridView column. |
Returns
System. Returns true if the formatting object should apply. |