Method CanExpand
CanExpand(T)
Override this method to return a rapid answer as to whether GetChildren(T) returns results. If you are implementing this method ensure you passed true in base constructor or set SupportsCanExpand.
public virtual bool CanExpand(T toExpand)
Parameters
toExpandTThe object to check for expandability.
Returns
- bool
True if the object has children that can be expanded.