ObjectListShowCommandsEventArgs

ObjectListShowCommandsEventArgs.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This custom EventArgs class defines the additional information that will be sent to methods that handle the ObjectList.ShowItemCommands event. This information includes the ObjectListItem that is being bound in the list (ListItem), and a the collection of commands that will be shown (Commands). You can programmatically add or remove ObjectListCommand instances to this collection to create an item-specific set of commands.

public class ObjectListShowCommandsEventArgs : EventArgs { // Public Constructors    public ObjectListShowCommandsEventArgs(ObjectListItem item, ObjectListCommandCollection commands); // Public Instance Properties    public ObjectListCommandCollection Commands{get; }    public ObjectListItem ListItem{get; } }

Hierarchy

System.Object System.EventArgs ObjectListShowCommandsEventArgs

Passed To

ObjectList.OnShowItemCommands( ), ObjectListShowCommandsEventHandler.{BeginInvoke( ), Invoke( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net