AdornerPlacementValue Structure
Collapse the table of content
Expand the table of content

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.

Public methodAdornerPlacementValueInitializes a new instance of the AdornerPlacementValue class.

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

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.)

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.

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

© 2015 Microsoft