Share via


RelativePositions.Center Property

Gets the center of an item on the design surface.

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

Syntax

'Declaration
Public Shared ReadOnly Property Center As RelativePosition
    Get
public static RelativePosition Center { get; }
public:
static property RelativePosition^ Center {
    RelativePosition^ get ();
}
static member Center : RelativePosition
static function get Center () : RelativePosition

Property Value

Type: Microsoft.Windows.Design.Interaction.RelativePosition
A RelativePosition that represents the center of an item on the design surface.

.NET Framework Security

See Also

Reference

RelativePositions Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility