CreateUserWizard.TextBoxStyle Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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:
UserName bidang kotak teks
Password bidang kotak teks
ConfirmPassword bidang kotak teks
Question bidang kotak teks
Answer bidang kotak teks
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.