Breyta

Deila með


ObjectListShowCommandsEventArgs Class

Definition

Caution

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

Provides data for the ShowItemCommands event of an ObjectList. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class ObjectListShowCommandsEventArgs : EventArgs
public class ObjectListShowCommandsEventArgs : EventArgs
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class ObjectListShowCommandsEventArgs : EventArgs
type ObjectListShowCommandsEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type ObjectListShowCommandsEventArgs = class
    inherit EventArgs
Public Class ObjectListShowCommandsEventArgs
Inherits EventArgs
Inheritance
ObjectListShowCommandsEventArgs
Attributes

Examples

For a code sample, see the example for the ObjectList overview.

Remarks

An instance of a ObjectListShowCommandsEventArgs object is automatically created and passed to the event handler for the ShowItemCommands event of an ObjectList.

An inherited class or event handler can use this event to show commands unique to the item, by changing the collection of commands in the Commands property.

Constructors

ObjectListShowCommandsEventArgs(ObjectListItem, ObjectListCommandCollection)

Initializes a new instance of the ObjectListShowCommandsEventArgs class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

Commands

Gets or sets the collection of commands in the ObjectListCommandCollection objects. Initially, the collection is empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ListItem

Returns the list item for the specified commands that will be displayed. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also