Bagikan melalui


CreateUserWizard.TextBoxStyle Properti

Definisi

Mendapatkan referensi ke kumpulan properti yang menentukan tampilan kontrol kotak teks.

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

Nilai Properti

Referensi ke Style yang berisi properti yang menentukan tampilan kontrol kotak teks.

Atribut

Keterangan

Properti TextBoxStyle menentukan tampilan kontrol kotak teks dalam CreateUserWizard kontrol. Properti ini bersifat baca-saja; namun, Anda dapat mengatur properti Style objek yang dikembalikannya. Anda dapat mengatur properti ini secara deklaratif dalam formulir Property-Subproperty, di mana Subproperty mewakili properti Style kelas (misalnya, TextBoxStyle-ForeColor). Anda dapat mengatur properti secara terprogram dalam formulir Property.Subproperty (misalnya, TextBoxStyle.ForeColor).

Properti TextBoxStyle menentukan tampilan kontrol kotak teks berikut:

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

Properti gaya berikut CreateUserWizard ini ditimpa oleh TextBoxStyle pengaturan:

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

Berlaku untuk

Lihat juga