AdornerPlacementValue Structure
Represents a single value in an AdornerPlacementCollection.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Structure AdornerPlacementValue
public struct AdornerPlacementValue
public value class AdornerPlacementValue
[<Sealed>]
type AdornerPlacementValue = struct end
JScript supports the use of structures, but not the declaration of new ones.
The AdornerPlacementValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AdornerPlacementValue | Initializes a new instance of the AdornerPlacementValue class. |
Top
Properties
Name | Description | |
---|---|---|
Contribution | Gets or sets the distance the placement term is affected by. | |
Term | Gets or sets the placement term affected by this contribution amount. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).) | |
Equals(AdornerPlacementValue) | Returns a value indicating whether this instance is equal to a specified AdornerPlacementValue. | |
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 | Returns the hash code for this structure. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the two specified AdornerPlacementValue objects have the same value. | |
Inequality | Determines whether the two specified AdornerPlacementValue objects have different values. |
Top
Remarks
The AdornerPlacementValue type is used by size- and position-related types, such as the IAdornerPlacement interface. A placement values has a term that indicates how to interpret it (top, bottom, left, right), and a contribution to the adorner layout, which is a double.
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