Command Class Members
Public Constructors
Command Constructor | Initializes a new instance of the Command class. |
Public Events
Click Event | Occurs when a user activates a command control. |
DataBinding Event (inherited from Control) | Sets or returns whether controls on the page can have custom attributes defined. The default value is the value of the allowCustomAttributes attribute of the <mobilecontrols> section of web.config. |
Disposed Event (inherited from Control) | Inherited from .NET Framework. |
Init Event (inherited from Control) | Inherited from .NET Framework. |
ItemCommand Event | Occurs before the commands related to an item in an ObjectList control are shown. |
Load Event (inherited from Control) | Occurs when a control is custom paginated and needs more data. |
PreRender Event (inherited from Control) | Inherited from .NET Framework. |
Unload Event (inherited from Control) | Inherited from .NET Framework. |
Public Methods
AddLinkedForms Method (inherited from MobileControl) | Adds, to the list provided, the set of forms that contains links to the specified control. |
CreateDefaultTemplatedUI Method (inherited from MobileControl) | Called by device adapters to create the default templated UI for the control. |
DataBind Method (inherited from Control) | Sets or returns whether controls on the page can have custom attributes defined. The default value is the value of the allowCustomAttributes attribute of the <mobilecontrols> section of web.config. |
Dispose Method (inherited from Control) | Inherited from .NET Framework. |
EnsureTemplatedUI Method (inherited from MobileControl) | Use this method to ensure that the templates are instantiated to allow programmatically access to the instantiated contents of a template. |
Equals Method (inherited from Object) | Inherited from .NET Framework. |
GetHashCode Method (inherited from Object) | Used internally by ASP.NET. Not intended for use by client applications. |
GetTemplate Method (inherited from MobileControl) | Returns the template with the specified name. |
GetType Method (inherited from Object) | Inherited from .NET Framework. |
HasControls Method (inherited from Control) | Inherited from .NET Framework. |
IsVisibleOnPage Method (inherited from MobileControl) | Returns whether the control is visible on the given page of the form. Used for form pagination. |
PaginateRecursive Method (inherited from MobileControl) | Paginates the control and its children. Called internally by ASP.NET. |
RenderChildren Method (inherited from MobileControl) | Renders children of the control. |
RenderControl Method (inherited from Control) | Inherited from .NET Framework. |
ResolveFormReference Method (inherited from MobileControl) | Returns the form object referenced by the name parameter. |
ResolveUrl Method (inherited from Control) | Controls and adapters can call the ResolveUrl method on a MobileControl to resolve a URL relative to the directory of the page or user control that contains the control. |
SetRenderMethodDelegate Method (inherited from Control) | Inherited from .NET Framework. |
ToString Method (inherited from Object) | Inherited from .NET Framework. |
Protected Methods
AddedControl Method (inherited from Control) | Inherited from .NET Framework. |
AddParsedSubObject Method (inherited from Control) | Inherited from .NET Framework. |
BuildProfileTree Method (inherited from Control) | Inherited from .NET Framework. |
ClearChildViewState Method (inherited from Control) | Inherited from .NET Framework. |
CreateChildControls Method (inherited from Control) | Inherited from .NET Framework. |
CreateControlCollection Method (inherited from Control) | Inherited from .NET Framework. |
CreateStyle Method (inherited from MobileControl) | Constructs and returns the style object to be associated with the control. Inheriting classes can override this method to return a more specific style class. |
CreateTemplatedUI Method (inherited from MobileControl) | Called by base classes to create a templated UI. |
EnsureChildControls Method (inherited from Control) | Inherited from .NET Framework. |
Finalize Method (inherited from Object) | Inherited from .NET Framework. |
FindControl Method (inherited from Control) | Inherited from .NET Framework. |
IsFormSubmitControl Method (inherited from MobileControl) | Returns true if the control submits the form. The default is false. |
IsLiteralContent Method (inherited from Control) | Inherited from .NET Framework. |
LoadPrivateViewState Method (inherited from MobileControl) | Loads private view state. The state passed in can be null. Controls can override this method to load private view state stored by overriding SavePrivateViewState. |
LoadViewState Method (inherited from Control) | Inherited from .NET Framework. |
MapPathSecure Method (inherited from Control) | Inherited from .NET Framework. |
MemberwiseClone Method (inherited from Object) | Inherited from .NET Framework. |
OnBubbleEvent Method (inherited from Control) | Inherited from .NET Framework. |
OnClick Method | Called when the user activates the control. |
OnDataBinding Method (inherited from Control) | Inherited from .NET Framework. |
OnInit Method (inherited from Control) | Inherited from .NET Framework. |
OnItemCommand Method | Called when the user activates the control. |
OnLoad Method (inherited from Control) | Called when the control is custom paginated and needs more data. |
OnPageChange Method (inherited from MobileControl) | No topic is available for this item. |
OnPreRender Method (inherited from Control) | Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. |
OnRender Method (inherited from MobileControl) | No topic is available for this item. |
OnUnload Method (inherited from Control) | Inherited from .NET Framework. |
RaiseBubbleEvent Method (inherited from Control) | Inherited from .NET Framework. |
RemovedControl Method (inherited from Control) | Inherited from .NET Framework. |
Render Method (inherited from Control) | Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. |
SavePrivateViewState Method (inherited from MobileControl) | Saves any private view state changes that have occurred since the page was loaded from persistence. If no changes were made, this method returns null. |
SaveViewState Method (inherited from Control) | Inherited from .NET Framework. |
TrackViewState Method (inherited from Control) | Inherited from .NET Framework. |
Public Properties
Adapter Property (inherited from MobileControl) | Returns the device-specific adapter for the control. |
Alignment Property (inherited from MobileControl) | Sets or returns the specified alignment for the style. |
BackColor Property (inherited from MobileControl) | Sets or returns the specified background color for the style. The default value is null. |
BindingContainer Property (inherited from Control) | Inherited from .NET Framework. |
BreakAfter Property (inherited from MobileControl) | Returns or sets a property that determines whether an additional trailing break is rendered after the control. This break results in subsequent content starting on the next line. The default is true. |
CausesValidation Property | Returns true if the specified control causes server-side validation to occur on data controls on the same form. The default value is true. |
ClientID Property (inherited from Control) | Inherited from .NET Framework. |
CommandArgument Property | Sets or returns the argument associated with the command in the ItemCommand event. The default value is an empty string (""). |
CommandName Property | Returns the name of the command that raised the event. |
Controls Property (inherited from Control) | Inherited from .NET Framework. |
CustomAttributes Property (inherited from MobileControl) | Sets or returns whether controls on the page can have custom attributes defined. The default value is the value of the allowCustomAttributes attribute of the <mobilecontrols> section of web.config. |
DeviceSpecific Property (inherited from MobileControl) | Sets or returns the DeviceSpecific/Choice construct associated with the control. The accessor returns null if no such construct exists. |
EnableViewState Property (inherited from Control) | Inherited from .NET Framework. |
FirstPage Property (inherited from MobileControl) | Returns the first page of the form on which this control appears. |
Font Property (inherited from MobileControl) | Returns true if the device supports the ForColor property for text. The default is true. |
ForeColor Property (inherited from MobileControl) | Sets or returns the specified foreground color for the style. Typically, this property sets the color for the text. The default value is null. |
Form Property (inherited from MobileControl) | Sets or returns the page's currently active form. |
Format Property | Sets or returns the render style for the Command control. The default value is Button. |
ID Property (inherited from Control) | Returns true if the specified control causes server-side validation to occur on data controls on the same form. The default value is true. |
ImageUrl Property | Sets or returns the URL of the image source for the Command control when the control is rendered as an image button. The default value is String.Empty. |
IsTemplated Property (inherited from MobileControl) | Returns whether the object has an active template set. |
LastPage Property (inherited from MobileControl) | Returns the last page of the form on which the specified control is displayed. |
MobilePage Property (inherited from MobileControl) | Returns the containing page. |
NamingContainer Property (inherited from Control) | Inherited from .NET Framework. |
Page Property (inherited from Control) | Sets or returns the index of the current page in the paginated form. The default value is 0. |
Parent Property (inherited from Control) | Inherited from .NET Framework. |
Site Property (inherited from Control) | Inherited from .NET Framework. |
SoftkeyLabel Property | Returns the maximum length of the text that a softkey label can display. The default value is 8. |
StyleReference Property (inherited from MobileControl) | Sets or returns a reference to the style properties for a control. The value of the StyleReference property must be the Name property of a Style object. |
TemplateSourceDirectory Property (inherited from Control) | Inherited from .NET Framework. |
Text Property (inherited from TextControl) | Sets or returns the alternate text to display when an image is not available for the device. The default value is an empty string (""). |
UniqueID Property (inherited from Control) | Inherited from .NET Framework. |
Visible Property (inherited from Control) | Returns the first item visible on the current form page. |
VisibleWeight Property (inherited from MobileControl) | Returns the approximate weight of the control, in characters. |
Wrapping Property (inherited from MobileControl) | Sets or returns the specified wrapping mode for the style. The default value is NotSet. |
Protected Properties
ChildControlsCreated Property (inherited from Control) | Inherited from .NET Framework. |
Context Property (inherited from Control) | Inherited from .NET Framework. |
Events Property (inherited from Control) | Returns the key to use to submit the event source. |
HasChildViewState Property (inherited from Control) | Inherited from .NET Framework. |
InnerText Property (inherited from MobileControl) | Returns the text inside the control. The inner text might be a combination of text from child controls. |
IsTrackingViewState Property (inherited from Control) | Inherited from .NET Framework. |
PaginateChildren Property (inherited from MobileControl) | Returns whether the children of the control must be paginated. Used for form pagination. |
ViewState Property (inherited from Control) | Returns the view state information — which combines private view state and an identifier for application view state — to write to the client in encoded form. |
ViewStateIgnoresCase Property (inherited from Control) | Inherited from .NET Framework. |
See Also
Command Class