- title
- The attributed string to set.
- state
- The scope for the text.
C# Example
var title = new NSAttributedString (
"Hello, World",
font: UIFont.FromName ("HoeflerText-Regular", 24.0f),
foregroundColor: UIColor.Red,
strokeWidth: 4
);
myButton.SetAttributedTitle (title, UIControlState.Normal);