public Bind ( object control, IEnumerable values ) : void | ||
control | object | The |
values | IEnumerable | The list to bind. |
return | void |
public void Bind(object control, IEnumerable values, params object[] p)
{
var tree = control as DropDownTreeView;
if (tree == null) return;
tree.Clear();
tree.Bind(values.Cast<IDomainHierarchy>().ToList(), null);
}