RelativePoint-Konstruktor (RelativePosition, Double, Double)
Initialisiert eine neue Instanz der RelativePoint-Struktur für die angegebene RelativePosition, die X- und die Y-Werte.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
position As RelativePosition, _
x As Double, _
y As Double _
)
public RelativePoint(
RelativePosition position,
double x,
double y
)
public:
RelativePoint(
RelativePosition^ position,
double x,
double y
)
new :
position:RelativePosition *
x:float *
y:float -> RelativePoint
public function RelativePoint(
position : RelativePosition,
x : double,
y : double
)
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.
- x
Typ: System.Double
Eine X-Koordinate.
- y
Typ: System.Double
Eine Y-Koordinate.
.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