RelativePoint-Konstruktor (RelativePosition, Point)
Initialisiert eine neue Instanz der RelativePoint-Klasse für einen angegebenen, nicht relativen Punkt.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
position As RelativePosition, _
point As Point _
)
public RelativePoint(
RelativePosition position,
Point point
)
public:
RelativePoint(
RelativePosition^ position,
Point point
)
new :
position:RelativePosition *
point:Point -> RelativePoint
public function RelativePoint(
position : RelativePosition,
point : Point
)
Parameter
- position
Typ: Microsoft.Windows.Design.Interaction.RelativePosition
Ein RelativePosition-Objekt, das die Beziehung zwischen den angegebenen X- und Y-Positionen und einem anderen Objekt definiert.
- point
Typ: System.Windows.Point
Eine Point-Struktur, die die Koordinaten zum Erstellen dieses RelativePoint enthält.
.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