3

I want to style Monotouch Dialog Section like this (change the blue background to an image of my own)...

enter image description here

How do I do that?

Thanks

MojoDK
  • 4,410
  • 10
  • 42
  • 80

1 Answers1

4

You need to set the HeaderView of your Section to a new UILabel object. UILabels are descendant of UIView, so they fit perfectly for this.

Make sure you set the background to black, the font to the one you want, and the frame size to (320,22). MonoTouch uses that frame size to figure how big the header should be.

Eduardo Scoz
  • 24,653
  • 6
  • 47
  • 62