Class ExpressionFormattingObject
Contains information about the expression and the formatting properties to apply.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ExpressionFormattingObject : BaseFormattingObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChangingEx, IEquatable<BaseFormattingObject>
Constructors
ExpressionFormattingObject()
Creates a new instance of the ConditionalFormattingObject class.
Declaration
public ExpressionFormattingObject()
ExpressionFormattingObject(String, String, Boolean)
Creates a new instance of the ConditionalFormattingObject class.
Declaration
public ExpressionFormattingObject(string name, string expression, bool applyToRow)
Parameters
System.String
name
Formatting object name. |
System.String
expression
The expression of the formatting object. |
System.Boolean
applyToRow
Determines if the condition should be applied on a row. |
Properties
Expression
Gets or sets the expression of the object.
Declaration
public string Expression { get; set; }
Property Value
System.String
|
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
System.Object
|
Overrides
Copy(BaseFormattingObject)
Copies the source's settings to this instance.
Declaration
public override void Copy(BaseFormattingObject source)
Parameters
BaseFormattingObject
source
|
Overrides
Evaluate(GridViewRowInfo, GridViewColumn)
Evaluates the expression of the formatting object.
Declaration
public override bool Evaluate(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo
row
RadGridView row. |
GridViewColumn
column
RadGridView column. |
Returns
System.Boolean
Returns true if the formatting object should apply. |