Esempio n. 1
0
        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 );
        }
Esempio n. 2
0
 public EnforceLazyLayout( ListSection listSection )
 {
     _listSection = listSection;
     _savedEnforceLazyLayout = listSection._enforceLazyLayout;
     _listSection._enforceLazyLayout = true;
 }
Esempio n. 3
0
 /// <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 )
 {
 }