RelativePoint Constructor (RelativePosition, Double, Double)
Initializes a new instance of the RelativePoint structure for specified RelativePosition, X, and Y values.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
position As RelativePosition, _
x As Double, _
y As Double _
)
public RelativePoint(
RelativePosition position,
double x,
double y
)
public:
RelativePoint(
RelativePosition^ position,
double x,
double y
)
new :
position:RelativePosition *
x:float *
y:float -> RelativePoint
public function RelativePoint(
position : RelativePosition,
x : double,
y : double
)
Parameters
- position
Type: Microsoft.Windows.Design.Interaction.RelativePosition
A RelativePosition object that defines the relationship between the specified X and Y locations and some other object.
- x
Type: System.Double
An X coordinate.
- y
Type: System.Double
A Y coordinate.
.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