Rule Element

Defines the base rule for other rules. This element allows you to construct custom lists of conditions and actions.

Syntax

<Rule
    ConditionLogicalOp="{And | Or}"
>
    <Actions />
    <Conditions />
</Rule>

Attributes

Actions

Specifies actions for this rule. Possible actions include:

DebugTrace

Invoke

Navigate

PlayAnimation

PlaySound

Set

You can use the ArrayListDataSet class to populate a list from markup.

ConditionLogicalOp

Specifies a ConditionLogicalOp logical operator for rule-matching behavior.

Conditions

Lists the conditions for a rule. Possible conditions include:

Equality

IsNotType

IsType

IsValid

Modified

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also