Bagikan melalui


Command.Format Properti

Definisi

Mendapatkan atau mengatur gaya render untuk Command. API ini kedaluarsa. Untuk informasi tentang cara mengembangkan aplikasi seluler ASP.NET, lihat Situs & Aplikasi Seluler dengan ASP.NET.

public:
 property System::Web::UI::MobileControls::CommandFormat Format { System::Web::UI::MobileControls::CommandFormat get(); void set(System::Web::UI::MobileControls::CommandFormat value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.MobileControls.CommandFormat Format { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Format : System.Web.UI.MobileControls.CommandFormat with get, set
Public Property Format As CommandFormat

Nilai Properti

Nilai CommandFormat yang menunjukkan gaya render untuk Command.

Atribut

Keterangan

Akses dua jenis yang CommandFormat tersedia melalui enumerasi.

CommandFormat.Button (default) Perintah dirender sebagai tombol.

CommandFormat.Link Perintah dirender sebagai tautan.

Nota

Properti Format hanya mendukung CommandFormat.Link nilai pada perangkat yang mendukung JavaScript seperti yang ditunjukkan HttpCapabilitiesBase.JavaScript oleh properti .

Berlaku untuk

Lihat juga