Bagikan melalui


Wizard.CancelButtonStyle Properti

Definisi

Mendapatkan referensi ke kumpulan properti gaya yang menentukan tampilan tombol Batalkan .

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

Nilai Properti

Referensi ke Style yang menentukan pengaturan gaya untuk Batal pada Wizard.

Atribut

Keterangan

Properti CancelButtonStyle menentukan tampilan untuk tombol Batal pada Wizard kontrol. Properti CancelButtonStyle 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, CancelButtonStyle-ForeColor). Anda dapat mengatur properti secara terprogram dalam formulir Property.Subproperty (misalnya, CancelButtonStyle.ForeColor).

Pengaturan umum mencakup warna latar belakang kustom, warna teks, dan properti font. Pengaturan gaya untuk CancelButtonStyle properti digabungkan dengan pengaturan gaya untuk NavigationButtonStyle properti . Pengaturan apa pun yang diterapkan dalam CancelButtonStyle properti akan menggantikan pengaturan yang sesuai di NavigationButtonStyle properti .

Berlaku untuk

Lihat juga