Class SimpleCondition
SimpleCondition evaluates when a property of an Element equals a certain value.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class SimpleCondition : Condition
Constructors
SimpleCondition(IPropertySetting)
Initializes a new instance of the SimpleCondition class.
Declaration
public SimpleCondition(IPropertySetting settingToCheck)
Parameters
IPropertySetting
settingToCheck
|
SimpleCondition(IPropertySetting, UnaryOperator)
Initializes a new instance of the SimpleCondition class from the setting to check, and the unary operator to use.
Declaration
public SimpleCondition(IPropertySetting settingToCheck, UnaryOperator unaryOperator)
Parameters
IPropertySetting
settingToCheck
|
UnaryOperator
unaryOperator
|
SimpleCondition(RadProperty, Object)
Initializes a new instance of the SimpleCondition class from the property and value
Declaration
public SimpleCondition(RadProperty property, object value)
Parameters
RadProperty
property
|
System.Object
value
|
SimpleCondition(RadProperty, Object, UnaryOperator)
Initializes a new instance of the SimpleCondition class from the property, value and unary operator
Declaration
public SimpleCondition(RadProperty property, object value, UnaryOperator unaryOperator)
Parameters
RadProperty
property
|
System.Object
value
|
UnaryOperator
unaryOperator
|
Properties
Setting
Gets or sets the setting of the current property.
Declaration
public IPropertySetting Setting { get; set; }
Property Value
IPropertySetting
|
UnaryOperator
Gets or sets the unary operator of the simple condition.
Declaration
public UnaryOperator UnaryOperator { get; set; }
Property Value
UnaryOperator
|
Methods
Evaluate(RadObject)
Evaluates the target RadElement using the unary operator.
Declaration
public override bool Evaluate(RadObject target)
Parameters
RadObject
target
|
Returns
System.Boolean
|
Overrides
FillAffectedProperties(List<RadProperty>)
Declaration
protected override void FillAffectedProperties(List<RadProperty> inList)
Parameters
System.Collections.Generic.List<RadProperty>
inList
|
Overrides
ToString()
Retrieves the string representation of the current instance.
Declaration
public override string ToString()
Returns
System.String
|