Пример #1
0
        partial void FilterAction(NSObject sender)
        {
            ProductTableDataSource DataSource2 = new ProductTableDataSource();

            foreach (var elem in DataSource.Products)
            {
                if (elem.perfomance.Contains(FilterNameOutlet.StringValue))
                {
                    DataSource2.Products.Add(elem);
                }
            }
            ProductTable.DataSource = DataSource2;
            ProductTable.Delegate   = new ProductTableDelegate(DataSource2);
            ProductTable.ReloadData();
        }
Пример #2
0
 public ProductTableDelegate(ProductTableDataSource datasource)
 {
     this.DataSource = datasource;
 }