Condividi tramite


Proprietà RelativePositions.Center

Ottiene il centro di un elemento nell'area di progettazione.

Spazio dei nomi:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
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

Valore proprietà

Tipo: Microsoft.Windows.Design.Interaction.RelativePosition
Oggetto RelativePosition che rappresenta il centro di un elemento nell'area di progettazione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

RelativePositions Classe

Spazio dei nomi Microsoft.Windows.Design.Interaction

Altre risorse

Estensibilità di Progettazione WPF