Freigeben über


Command.Format Eigenschaft

Definition

Dient zum Abrufen oder Festlegen der Renderformatvorlage für die Command. Diese API ist veraltet. Informationen zum Entwickeln von ASP.NET mobilen Anwendungen finden Sie unter Mobile Apps & Websites mit 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

Eigenschaftswert

Ein CommandFormat Wert, der die Renderformatvorlage für die Command.

Attribute

Hinweise

Greifen Sie über die CommandFormat Enumeration auf die beiden verfügbaren Typen zu.

CommandFormat.Button (Standard) Der Befehl wird als Schaltfläche gerendert.

CommandFormat.Link Der Befehl wird als Link gerendert.

Hinweis

Die Format Eigenschaft unterstützt den CommandFormat.Link Wert nur auf Geräten, die JavaScript unterstützen, wie durch die HttpCapabilitiesBase.JavaScript Eigenschaft angegeben.

Gilt für:

Weitere Informationen