/// <summary> /// Called by the TableView to actually build each cell. /// </summary> public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { //---- declare vars NavItem navItem = this._navItems[indexPath.Section].Items[indexPath.Row]; UIImage navIcon = null; var cell = tableView.DequeueReusableCell(this._cellIdentifier); if (cell == null) { cell = new UITableViewCell(UITableViewCellStyle.Default, this._cellIdentifier); cell.Tag = Environment.TickCount; } //---- set the cell properties cell.TextLabel.Text = this._navItems[indexPath.Section].Items[indexPath.Row].Name; cell.Accessory = UITableViewCellAccessory.DisclosureIndicator; //---- return the cell return(cell); }
public RowClickedEventArgs(NavItem item) : base() { this.Item = item; }
public RowClickedEventArgs(NavItem item) : base() { Item = item; }