ObjectListShowCommandsEventArgs ObjectListShowCommandsEventArgs ObjectListShowCommandsEventArgs ObjectListShowCommandsEventArgs Class

Definition

Warning

This API is now obsolete.

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
[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
Public Class ObjectListShowCommandsEventArgs
Inherits EventArgs
Inheritance
ObjectListShowCommandsEventArgsObjectListShowCommandsEventArgsObjectListShowCommandsEventArgsObjectListShowCommandsEventArgs
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) ObjectListShowCommandsEventArgs(ObjectListItem, ObjectListCommandCollection) ObjectListShowCommandsEventArgs(ObjectListItem, ObjectListCommandCollection) 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 Commands Commands 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 ListItem ListItem 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) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Security

AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Applies to

See also