private void Apply(ListView listView) { var renderer = listView.Controls.OfType <ListViewDecorator>().FirstOrDefault(); if (renderer == null) { renderer = new ListViewDecorator(listView, _theme); } renderer.EnableTheme(_enabled, _theme); }
private void Apply(ListView listView) { if (ObjectListViewDecorator.CanDecorate(listView)) { ObjectListViewDecorator.Apply(listView, _theme); return; } var decorator = listView.Controls.OfType <ListViewDecorator>().FirstOrDefault(); if (decorator == null) { decorator = new ListViewDecorator(listView, _theme); } decorator.EnableTheme(_enabled, _theme); }
protected override ListViewDecorator GetListView() { return(ListViewDecorator.Create(OrgEventsTableView)); }
protected override ListViewDecorator GetListView() { return(ListViewDecorator.Create(VenueShowsTableView)); }
protected override ListViewDecorator GetListView() { return(ListViewDecorator.Create(OrgCollectionView)); }