DataRepeaterAddRemoveItemsEventArgs Class

 

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

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

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualBasic.PowerPacks.DataRepeaterAddRemoveItemsEventArgs

Syntax

public class DataRepeaterAddRemoveItemsEventArgs : EventArgs
public ref class DataRepeaterAddRemoveItemsEventArgs : EventArgs
type DataRepeaterAddRemoveItemsEventArgs = 
    class
        inherit EventArgs
    end
Public Class DataRepeaterAddRemoveItemsEventArgs
    Inherits EventArgs

Constructors

Name Description
System_CAPS_pubmethod DataRepeaterAddRemoveItemsEventArgs(Int32, Int32)

Initializes a new instance of the DataRepeaterAddRemoveItemsEventArgs class.

Properties

Name Description
System_CAPS_pubproperty ItemCount

Gets the number of items being added to or deleted from a DataRepeater control.

System_CAPS_pubproperty ItemIndex

Gets the index of the item being added or deleted.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

ItemsAdded
ItemsRemoved
UserAddedItems
UserDeletedItems
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)

Return to top