RelativePosition Constructor (array<RelativePosition )
Initializes a new instance of the RelativePosition class that contains zero or more existing reference positions.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
ParamArray values As RelativePosition() _
)
public RelativePosition(
params RelativePosition[] values
)
public:
RelativePosition(
... array<RelativePosition^>^ values
)
new :
values:RelativePosition[] -> RelativePosition
public function RelativePosition(
... values : RelativePosition[]
)
Parameters
- values
Type: array<Microsoft.Windows.Design.Interaction.RelativePosition[]
An array of RelativePosition objects included in a composite.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | values is nulla null reference (Nothing in Visual Basic). |
Remarks
If you specify more than one reference point, the relative position is considered to be a composite position. For example, TopLeft is a composite position that is composed of Top and Left.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace