UIKit.UIContentSizeCategory Enumeration
An enumeration whose values specify the various dynamic type sizes that can be chosen by the application user.


public enum UIContentSizeCategory


After the application user has set the "Text Size Property" in Settings, the application will receive a notification via UIApplication.Notifications.ObserveContentSizeCategoryChanged. It is the application developer's responsibility, at that point, to invalidate the layout in all view elements that implement Dynamic Type. The simplest way to do that is to have a method that re-sets the font in all components that support Dynamic Type:

C# Example

 UIApplication.Notifications.ObserveContentSizeCategoryChanged((s,e) => {

//Call this when initializing, and also in response to ObserveContentSizeCategoryChanged notifications
private void SetDynamicTypeFonts()
	headlineLabel.Font = UIFont.PreferredFontForTextStyle(UIFontTextStyle.Headline);
	bodyText.Font = UIFont.PreferredFontForTextStyle(UIFontTextStyle.Body);


Member NameDescription
ExtraExtraExtraLargeA font that's larger than ExtraExtraLarge.
ExtraExtraLargeA font that's larger than ExtraLarge.
ExtraLargeAn extra-large font.
ExtraSmallQuite small.
LargeA large font.
MediumA medium-sized font.
SmallA small font.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: