Export (0) Print
Expand All

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)

public struct AdornerPlacementValue

The AdornerPlacementValue type exposes the following members.

  NameDescription
Public methodAdornerPlacementValueInitializes a new instance of the AdornerPlacementValue class.
Top

  NameDescription
Public propertyContributionGets or sets the distance the placement term is affected by.
Public propertyTermGets or sets the placement term affected by this contribution amount.
Top

  NameDescription
Public methodEquals(Object)Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public methodEquals(AdornerPlacementValue)Returns a value indicating whether this instance is equal to a specified AdornerPlacementValue.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this structure. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the two specified AdornerPlacementValue objects have the same value.
Public operatorStatic memberInequalityDetermines whether the two specified AdornerPlacementValue objects have different values.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft