Share via


InternalItemCount Property (Common)

Returns the number of items in the control.

protected abstract int internalItemCount {
   get
}

Inheritance

The following classes inherit the InternalItemCount property.

List Class ObjectList Class
LiteralText Class  

Remarks

The derived class must override this inherited property.

The difference between the InternalItemCount property and the Item.Count property of the List and ObjectList classes is that if the InternalItemCount property is called before the control view state is loaded, it returns the number of items in the view state, unlike the behavior of the Items.Count property, which returns zero.

See Also

List Control | ObjectList Control

Applies to: PagedControl Class