RelativePoint Constructor (RelativePosition, Point)
Initializes a new instance of the RelativePoint class for a specified a non-relative point.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
position As RelativePosition, _
point As Point _
)
public RelativePoint(
RelativePosition position,
Point point
)
public:
RelativePoint(
RelativePosition^ position,
Point point
)
new :
position:RelativePosition *
point:Point -> RelativePoint
public function RelativePoint(
position : RelativePosition,
point : Point
)
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.
- point
Type: System.Windows.Point
A Point structure containing the coordinates to create for this RelativePoint.
.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