RelativeValue Structure
Represents a coordinate on the designer.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Structure RelativeValue
public struct RelativeValue
public value class RelativeValue
[<Sealed>]
type RelativeValue = struct end
JScript supports the use of structures, but not the declaration of new ones.
The RelativeValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RelativeValue | Initializes a new instance of the RelativeValue structure using a RelativePosition and a value. |
Top
Properties
Name | Description | |
---|---|---|
Position | Gets or sets the RelativePosition that identifies the kind for this value. | |
Value | Gets or sets the actual value of this position or coordinate. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to this RelativeValue structure. (Overrides ValueType.Equals(Object).) | |
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 instance. (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 | Compares two RelativeValue structures. | |
Inequality | Compares two RelativeValue structures. |
Top
Remarks
A RelativeValue is known by some relative type, such as Left or Top.
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