Bagikan melalui


Title.Alignment Properti

Definisi

Mendapatkan atau mengatur perataan judul.

public:
 property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.ContentAlignment Alignment { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Property Alignment As ContentAlignment

Nilai Properti

Nilai ContentAlignment enumerasi yang mewakili perataan judul dalam area gambar teks. Nilai defaultnya adalah MiddleCenter.

Atribut

Keterangan

Properti Alignment tidak berpengaruh pada perataan Position jika properti tidak diatur ke Auto.

Berlaku untuk