Partager via


<Command> Element

Represents a Command of an ObjectList ASP.NET mobile control. Each <Command> element represents a command that a user can invoke on an item in an object list.

<Command Name="commandName" Text="commandText" />

Properties

Property

Description

Name

Sets or returns the name of the specified object. The default value is an empty string ("").

Text

Sets or returns the text for the command.

Containment Rules

The following controls can contain a <Command> element.

Control

Comments

ObjectList

An ObjectList control can contain any number of <Command> elements.

A <Command> element cannot contain any child controls or elements.

See Also

Reference

Command

ObjectList