Default Element
Defines a rule for a default action if no other higher-priority rules apply.
Syntax
<Default
ConditionLogicalOp="{And | Or}"
Target="ObjectPath element"
Transformer="object"
Value="object"
>
<Actions />
<Conditions />
<Transformer />
</Default>
Attributes
Actions
Specifies actions for this rule. Possible actions include:
You can use the ArrayListDataSet class to populate a list from markup. This method works well with repeaters because changes to the list are automatically directed to the repeater.
ConditionLogicalOp
Specifies a ConditionLogicalOp logical operator for rule-matching behavior.
Conditions
Lists the conditions for a rule. Possible conditions include:
Target
An object path in the form [ObjectName.Member] that specifies the target.
Transformer
Optional. Indicates a data converter. You can use inline or expanded construction. Possible transformer elements include:
Value
Specifies the value of the target.
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also