Freigeben über


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

'Declaration
Public ReadOnly Property ItemCount As Integer
    Get
public int ItemCount { get; }
public:
property int ItemCount {
    int get ();
}
member ItemCount : int
function get ItemCount () : int

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.

.NET Framework Security

See Also

Reference

DataRepeaterAddRemoveItemsEventArgs Class

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)