XhtmlObjectListAdapter.OnlyHasDefaultCommand Method

Definition

Returns a Boolean value indicating whether an ObjectList control contains a default command and no other commands. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 bool OnlyHasDefaultCommand();
protected bool OnlyHasDefaultCommand ();
member this.OnlyHasDefaultCommand : unit -> bool
Protected Function OnlyHasDefaultCommand () As Boolean

Returns

true if an ObjectList has a default command and no other commands; otherwise, false.

Applies to

See also