Share via


ItemCountHandler Delegate

Represents a delayed callback method that queries the count so that the count does not need to be specified when the VirtualList object is created.

Syntax

  public delegate void ItemCountHandler(
  VirtualList  
  list
);

Parameters

list

Microsoft.MediaCenter.UI.VirtualList.  The virtual list that is requesting the VirtualList.Count property to be set.

Remarks

To use this delegate, pass an instance of it to the VirtualList constructor, and then your callback should set the count before returning.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also