Share via


RelativePoint.FromPoint Method

Converts the specified Point to a RelativePoint that is relative to the top left corner.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Function FromPoint ( _
    point As Point _
) As RelativePoint
public static RelativePoint FromPoint(
    Point point
)
public:
static RelativePoint FromPoint(
    Point point
)
static member FromPoint : 
        point:Point -> RelativePoint 
public static function FromPoint(
    point : Point
) : RelativePoint

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.RelativePoint
A new RelativePoint.

.NET Framework Security

See Also

Reference

RelativePoint Structure

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility