Share via


CommandFormat Enumeration

Sets the render style of the Command control, through the Format property.

public enum System.Web.UI.MobileControls.CommandFormat
{
   Button = 0,
   Link = 1,
}

Members

Member name Description
Button The Command control is rendered as a button.
Link The Command control is rendered as a hyperlink.

Example

<mobile:Command
   id="Command1"
   runat="server"
   Format="Link">
   CommandName
</mobile:Command

Requirements

Namespace: System.Web.UI.MobileControls

Assembly: System.Web.Mobile

See Also

Command Control

Command Class