OSATParams, TItemViewsHolderChangeItemsCount Method |
Self-explanatory. See ItemCountChangeMode in order to understand how change modes differ from each other.
Every count change operation (Refresh(Boolean, Boolean), InsertItems(Int32, Int32, Boolean, Boolean) etc.) ultimately calls this method, so it's a good place for example to fire a custom "ItemsChanged" event, if you need to
Namespace: Com.ForbiddenByte.OSA.Core
public virtual void ChangeItemsCount( ItemCountChangeMode changeMode, int itemsCount, int indexIfInsertingOrRemoving = -1, bool contentPanelEndEdgeStationary = false, bool keepVelocity = false )