DynamicDOM v0.43.2. Implementation based on XRules v0.43

BindRule Class

Implements the <bind> rule.

For a list of all members of this type, see BindRule Members.


[Visual Basic]
Public Class BindRule
    Inherits RuleBase
public class BindRule : RuleBase
public __gc class BindRule : public RuleBase
public class BindRule extends RuleBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


<xr:bind target = "ItemTotal" 
    value = "UnitPrice * Quantity"
    min = "5"
    max = "50"
    type = "xs:decimal"
    minLength = "2"
    maxLength = "10"
    regex = "d{3}.d{1-2}" 
    required = "true()"            // TODO: not implemented yet.
    minOccurs = "3" 
    maxOccurs = "unbounded"        // use 'unbounded' or an XPath expression.
    <xr:property name="RequiresAuthorization" value="bool(ItemTotal > 300)" />
    <xr:valueset select="config('AllowedValues')/Value/@ValueText" />


Namespace: XRules

Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)

See Also

BindRule Members | XRules Namespace