BulletedListEventArgs Class
Collapse the table of content
Expand the table of content

BulletedListEventArgs Class

Provides data for the Click event of a BulletedList control.


Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

type BulletedListEventArgs =  
        inherit EventArgs 

The BulletedListEventArgs type exposes the following members.

Public methodBulletedListEventArgsInitializes a new instance of the BulletedListEventArgs class.

Public propertyIndexGets the index of the list item in a BulletedList control that raised the event.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The Click event is raised when a link button in a BulletedList control is clicked.

For a list of initial property values for an instance of the BulletedListEventArgs class, see the BulletedListEventArgs constructor.

The following example demonstrates how to specify and code an event handler for the Click event of a BulletedList control. When a list item is clicked, a message is displayed in a Label on the page.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft