private ExListBox FindListBox(FrameworkElement element) { if (element == null) { return(null); } ExListBox view = element as ExListBox; if (view != null) { return(view); } return(FindListBox(element.TemplatedParent as FrameworkElement)); }
public ListBoxBackend() { ListBox = new ExListBox(); ListBox.DisplayMemberPath = ".[0]"; }