RelativePoint Implicit Conversion (Point to RelativePoint)
Converts the specified Point structure to a RelativePoint structure.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
point As Point _
) As RelativePoint
public static implicit operator RelativePoint (
Point point
)
static implicit operator RelativePoint (
Point point
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- point
Type: System.Windows.Point
The Point structure to convert.
Return Value
Type: Microsoft.Windows.Design.Interaction.RelativePoint
A new RelativePoint created from point.
Remarks
The Position property becomes TopLeft.
.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