Share via


CreateUserWizard.LabelStyle Properti

Definisi

Mendapatkan referensi ke kumpulan properti yang menentukan tampilan label.

public:
 property System::Web::UI::WebControls::TableItemStyle ^ LabelStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle LabelStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.LabelStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property LabelStyle As TableItemStyle

Nilai Properti

Referensi ke TableItemStyle yang berisi properti yang menentukan tampilan label.

Atribut

Keterangan

Properti LabelStyle mendefinisikan tampilan label dalam CreateUserWizard kontrol. Properti ini bersifat baca-saja; namun, Anda dapat mengatur properti TableItemStyle objek yang dikembalikannya. Anda dapat mengatur properti ini secara deklaratif dalam formulir Property-Subproperty, di mana Subproperty mewakili properti TableItemStyle kelas (misalnya, LabelStyle-ForeColor). Anda dapat mengatur properti secara terprogram dalam formulir Property.Subproperty (misalnya, LabelStyle.ForeColor).

Properti LabelStyle menentukan tampilan properti berikut:

Pengaturan gaya untuk LabelStyle properti digabungkan dengan pengaturan gaya untuk CreateUserWizard kontrol. Pengaturan apa pun yang diterapkan dalam LabelStyle properti akan menggantikan pengaturan terkait di properti CreateUserWizard kontrol.

Properti gaya berikut CreateUserWizard ini ditimpa oleh LabelStyle pengaturan:

Namun, saat Anda menggunakan templat untuk menentukan tampilan CreateUserWizard kontrol, LabelStyle properti tidak berpengaruh.

Berlaku untuk

Lihat juga