Freigeben über


RelativePoint.FromPoint-Methode

Konvertiert den angegebenen Point in einen RelativePoint relativ zur oberen linken Ecke.

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

Parameter

Rückgabewert

Typ: Microsoft.Windows.Design.Interaction.RelativePoint
Ein neuer RelativePoint.

.NET Framework-Sicherheit

Siehe auch

Referenz

RelativePoint Struktur

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit