private int get_items_count() { FetchItemsCountEventArgs e = new FetchItemsCountEventArgs(); OnFetchItemsCount(e); return(e.ItemsCount); }
private void OnFetchItemsCount(FetchItemsCountEventArgs e) { if (FetchItemsCount != null) { FetchItemsCount(this, e); } }
void inner_ListControl_FetchItemsCount(object sender, FetchItemsCountEventArgs e) { if (internal_source == null) { e.ItemsCount = 0; } else { e.ItemsCount = internal_source.ItemCount; } }