Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonoKit.UI.TableViewSection`1"/> class.
 /// </summary>
 /// <param name='viewDefinitions'>
 /// View declarations.   more specific definitions should be before more general ones
 /// </param>
 public TableViewSection(TableViewSource source, params IViewDefinition[] viewDefinitions) : base(source, viewDefinitions)
 {
     this.items = new List <TItem>();
 }
Exemple #2
0
 public TableViewSection(TableViewSource source) : base(source)
 {
     this.items = new List <TItem>();
 }
 protected TableViewSectionBase(TableViewSource source, params IViewDefinition[] viewDefinitions)
 {
     this.Source          = source;
     this.viewDefinitions = new List <IViewDefinition>(viewDefinitions);
     this.Source.Add(this);
 }
 public TableViewSection(TableViewSource source) : base(source, ViewDefinitions())
 {
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonoKit.UI.TableViewController"/> class.
 /// </summary>
 /// <param name='source'>
 /// The Table view source to use for the UITableView.
 /// </param>
 public TableViewController(UITableViewStyle tableStyle, TableViewSource source)
 {
     this.tableStyle = tableStyle;
     this.Source     = source;
 }