Edit

Share via


Command.Format Property

Definition

Gets or sets the render style for the Command. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Property Value

A CommandFormat value indicating the render style for the Command.

Attributes

Remarks

Access the two available types through the CommandFormat enumeration.

CommandFormat.Button (default) The command is rendered as a button.

CommandFormat.Link The command is rendered as a link.

Note

The Format property supports the CommandFormat.Link value only on devices that support JavaScript as indicated by the HttpCapabilitiesBase.JavaScript property.

Applies to

See also