Share via


RelativePoint.Position Property

Gets or sets the relative position of the RelativePoint structure.

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)

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

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility