DataRepeaterAddRemoveItemsEventArgs Class

Provides data for the ItemsAdded, ItemsRemoved, UserAddedItems, and UserDeletedItems events.

Inheritance Hierarchy

Object
  EventArgs
    Microsoft.VisualBasic.PowerPacks.DataRepeaterAddRemoveItemsEventArgs

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
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
Public method DataRepeaterAddRemoveItemsEventArgs Initializes a new instance of the DataRepeaterAddRemoveItemsEventArgs class.

Top

Properties

  Name Description
Public property ItemCount Gets the number of items being added to or deleted from a DataRepeater control.
Public property ItemIndex Gets the index of the item being added or deleted.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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

ItemsAdded

ItemsRemoved

UserAddedItems

UserDeletedItems

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)