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

A base class defining a rule.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public abstract class RuleBase : DependencyObject

Inheritance: objectRuleBase

Derived Classes: DataTemplateRuleStyleRule

Constructors

C#
protected RuleBase()

Fields

ConditionProperty

DependencyProperty

Identifies the Condition dependency property.

C#
public static readonly DependencyProperty ConditionProperty

Properties

Gets or sets the condition for this rule.

C#
[TypeConverter(typeof(ExpressionTypeConverter))]
public Expression Condition { get; set; }