public ListControl( SectionFactory sectionFactory ) : base(sectionFactory) { InitializeComponent(); _itemList = new BufferedList(); _itemList.ListControl = this; _selectedItems = new SelectedItemsCollection( this ); _customiseListSection = SectionFactory.CreateCustomiseListSection( this ); _listSection = SectionFactory.CreateListSection( this ); Canvas.Children.Add( _customiseListSection ); Canvas.Children.Add( _listSection ); }
public EnforceLazyLayout( ListSection listSection ) { _listSection = listSection; _savedEnforceLazyLayout = listSection._enforceLazyLayout; _listSection._enforceLazyLayout = true; }
/// <summary> /// Override this method if you want to change the expansion state of a grouped item. /// </summary> /// <param name="ri"></param> /// <param name="currentState"></param> public virtual void GetGroupedState( RowIdentifier ri, ref ListSection.GroupState currentState ) { }