Method CanExpand
CanExpand(T)
Returns true/false for whether a model has children. This method should be implemented when GetChildren(T) is an expensive operation otherwise SupportsCanExpand should return false (in which case this method will not be called)
bool CanExpand(T toExpand)
Parameters
toExpand
T
Returns
Remarks
Only implement this method if you have a very fast way of determining whether an object can have children e.g. checking a Type (directories can always be expanded)