OrderToken Constructor

Initializes a new instance of the OrderToken class based on the specified referenced OrderToken, precedence, and conflict resolution semantics.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Protected Sub New ( _
    precedence As OrderTokenPrecedence, _
    reference As OrderToken, _
    conflictResolution As OrderTokenConflictResolution _
)
protected OrderToken(
    OrderTokenPrecedence precedence,
    OrderToken reference,
    OrderTokenConflictResolution conflictResolution
)
protected:
OrderToken(
    OrderTokenPrecedence precedence, 
    OrderToken^ reference, 
    OrderTokenConflictResolution conflictResolution
)
new : 
        precedence:OrderTokenPrecedence * 
        reference:OrderToken * 
        conflictResolution:OrderTokenConflictResolution -> OrderToken
protected function OrderToken(
    precedence : OrderTokenPrecedence, 
    reference : OrderToken, 
    conflictResolution : OrderTokenConflictResolution
)

Parameters

  • reference
    Type: Microsoft.Windows.Design.OrderToken
    Referenced token. May be nulla null reference (Nothing in Visual Basic) for the root token case. A root token is a token that is not dependent on any token.

Remarks

A winning OrderTokenConflictResolution semantic should be used only on predefined, default OrderToken instances to make sure their placement is correct in more a complex chain of order dependencies.

.NET Framework Security

See Also

Reference

OrderToken Class

Microsoft.Windows.Design Namespace

OrderTokenPrecedence

AdornerOrder

PropertyOrder

Other Resources

WPF Designer Extensibility