Пример #1
0
        public Form1()
        {
            InitializeComponent();
            treeList1.DataSource = CreateDataset_Table().Tables["Customers"];
            CustomAnyControlEditRepositoryItem CustomRepository = new CustomAnyControlEditRepositoryItem();

            treeList1.OptionsBehavior.AutoNodeHeight = true;
            treeList1.RepositoryItems.Add(CustomRepository);
            treeList1.Columns["string"].ColumnEdit = CustomRepository;
        }
 public override void Assign(RepositoryItem item)
 {
     BeginUpdate();
     try
     {
         base.Assign(item);
         CustomAnyControlEditRepositoryItem source = item as CustomAnyControlEditRepositoryItem;
         if (source == null)
         {
             return;
         }
     }
     finally
     {
         EndUpdate();
     }
 }