Reputation: 269
Is it possible to assign different font to text that is associated with a single StringElement
in MonoTouch.Dialog, e.g. Reminder: Doctor's appointment
Upvotes: 2
Views: 466
Reputation: 43553
Like @Jason said you can always create your own Element
. In fact I generally do that anyway even when my customization needs are minimal. You can have a look at MessageElement
to see how this can be done to render different strings.
You can also opt for a simpler approach using UIViewElement
and define your UIView
to have two labels with different font or take complete control with OwnerDrawElement
.
Upvotes: 2
Reputation: 89102
Look at StyledStringElement instead. Although I'm not sure that it allows you to mix styles within a single element. You may need to create a custom element for that.
Upvotes: 2