Clancey / FlyoutNavigation

Other
95 stars 87 forks source link

Customize Cell #33

Closed Rafailong closed 11 years ago

Rafailong commented 11 years ago

Hi there, Is there a way to customize the cell of the NavigationTableView?

Actually, I just add a BackgroundView to NavigationTableView but now I want to customize the VisibleCells Bound but do not know if it is possible.

Actually I am doing this

foreach (var view in navigationController.NavigationTableView.VisibleCells) { var cell = view; cell.TextLabel.TextColor = UIColor.White; var boundsCell = cell.Bounds; cell.Bounds = new RectangleF (boundsCell.X, boundsCell.Y, boundsCell.Width, boundsCell.Height * 5); }

but the changes does not take place.

Can you help me with it?

Clancey commented 11 years ago

You need to do that at the table/element level. If its a blanket change all heights. just do flyout.NavigationTable.RowHeight = ... Or if they are all different do it at the Element level. Look at mt.d and iSizing element.