Пример #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>();
 }
Пример #2
0
 public TableViewSection(TableViewSource source) : base(source)
 {
     this.items = new List <TItem>();
 }
Пример #3
0
 protected TableViewSectionBase(TableViewSource source, params IViewDefinition[] viewDefinitions)
 {
     this.Source          = source;
     this.viewDefinitions = new List <IViewDefinition>(viewDefinitions);
     this.Source.Add(this);
 }
Пример #4
0
 public TableViewSection(TableViewSource source) : base(source, ViewDefinitions())
 {
 }
Пример #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;
 }