Share via


DataRepeaterAddRemoveItemsEventArgs.ItemCount Property

 

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

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

Syntax

public int ItemCount { get; }
public:
property int ItemCount {
    int get();
}
member ItemCount : int with get
Public ReadOnly Property ItemCount As Integer

Property Value

Type: System.Int32

A count of the items.

Remarks

In the current implementation of the DataRepeater control, only one item can be added or deleted at a time. Therefore, this property will always return 1.

See Also

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

Return to top