Delen via


RelativePoint.Position Property

Gets or sets the relative position of the RelativePoint structure.

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

Syntax

'Declaration
Public Property Position As RelativePosition
'Usage
Dim instance As RelativePoint 
Dim value As RelativePosition 

value = instance.Position

instance.Position = value
public RelativePosition Position { get; set; }
public:
property RelativePosition^ Position {
    RelativePosition^ get ();
    void set (RelativePosition^ value);
}
public function get Position () : RelativePosition 
public function set Position (value : RelativePosition)

Property Value

Type: Microsoft.Windows.Design.Interaction.RelativePosition
The relative position of the RelativePoint structure.

Remarks

Setting Position to nulla null reference (Nothing in Visual Basic) is the same as setting it to RelativePositions.TopLeft.

.NET Framework Security

See Also

Reference

RelativePoint Structure

RelativePoint Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility