Share via


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

Return Value

Type: Microsoft.Windows.Design.Interaction.RelativePoint
A new RelativePoint created from point.

Remarks

The Position property becomes TopLeft.

.NET Framework Security

See Also

Reference

RelativePoint Structure

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility