AdornerOrder Class
Specifies the z-order of adorners in Design view.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.OrderToken
Microsoft.Windows.Design.Interaction.AdornerOrder
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public NotInheritable Class AdornerOrder _
Inherits OrderToken
public sealed class AdornerOrder : OrderToken
public ref class AdornerOrder sealed : public OrderToken
[<Sealed>]
type AdornerOrder =
class
inherit OrderToken
end
public final class AdornerOrder extends OrderToken
The AdornerOrder type exposes the following members.
Properties
Name | Description | |
---|---|---|
Background | Gets a value indicating that the adorner is placed after the content. | |
Content | Gets a value indicating that the adorner is placed with other content adorners. This is the default. | |
Foreground | Gets a value indicating that the adorner is placed before content adorners. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares this order token with the specified order token. (Inherited from OrderToken.) | |
CreateAbove | Creates a new adorner order that places the adorner above the provided reference in the z-order. | |
CreateBelow | Creates a new adorner order that places the adorner below the provided reference in the z-order. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from OrderToken.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from OrderToken.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResolveConflict | Called by the default CompareTo implementation when two OrderToken objects appear to be equivalent. (Inherited from OrderToken.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Use AdornerOrder to specify the z-order of your adorner panel by assigning an AdornerOrder value to the Order property. If not specified, the default adorner order is Content. Adorners that have the same relative ordering are ordered in the same order in which they are added.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace