DataRepeaterAddRemoveItemsEventArgs Class
Provides data for the ItemsAdded, ItemsRemoved, UserAddedItems, and UserDeletedItems events.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.VisualBasic.PowerPacks.DataRepeaterAddRemoveItemsEventArgs
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'宣告
Public Class DataRepeaterAddRemoveItemsEventArgs _
Inherits EventArgs
public class DataRepeaterAddRemoveItemsEventArgs : EventArgs
public ref class DataRepeaterAddRemoveItemsEventArgs : public EventArgs
type DataRepeaterAddRemoveItemsEventArgs =
class
inherit EventArgs
end
public class DataRepeaterAddRemoveItemsEventArgs extends EventArgs
The DataRepeaterAddRemoveItemsEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataRepeaterAddRemoveItemsEventArgs | Initializes a new instance of the DataRepeaterAddRemoveItemsEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
ItemCount | Gets the number of items being added to or deleted from a DataRepeater control. | |
ItemIndex | Gets the index of the item being added or deleted. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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.) |
Top
Remarks
The DataRepeaterAddRemoveItemsEventArgs object contains a property that can be used to determine the index of the DataRepeaterItem that is being added to or removed from a DataRepeater control.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)