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
- point
Typ: System.Windows.Point
Die zu konvertierende Point-Struktur.
Rückgabewert
Typ: Microsoft.Windows.Design.Interaction.RelativePoint
Ein neuer RelativePoint.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
Microsoft.Windows.Design.Interaction-Namespace