Freigeben über


RelativePoint.Position-Eigenschaft

Ruft die relative Position der RelativePoint-Struktur ab oder legt sie fest.

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

Syntax

'Declaration
Public Property Position As RelativePosition
    Get
    Set
public RelativePosition Position { get; set; }
public:
property RelativePosition^ Position {
    RelativePosition^ get ();
    void set (RelativePosition^ value);
}
member Position : RelativePosition with get, set
function get Position () : RelativePosition
function set Position (value : RelativePosition)

Eigenschaftswert

Typ: Microsoft.Windows.Design.Interaction.RelativePosition
Die relative Position der RelativePoint-Struktur.

Hinweise

Das Festlegen der Position auf nullNULL-Verweis (Nothing in Visual Basic) und das Festlegen dieses Werts auf RelativePositions.TopLeft ist vom Ergebnis her identisch.

.NET Framework-Sicherheit

Siehe auch

Referenz

RelativePoint Struktur

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit