Ejemplo 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);
        }