UIFont Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("UIFont", true)]
public class UIFont : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("UIFont", true)>]
type UIFont = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| UIFont(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIFont(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UIFont(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Ascender | |
| ButtonFontSize | |
| CapHeight | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Descender | |
| Description | (Inherited from NSObject) |
| FamilyName | |
| FamilyNames | |
| FontDescriptor | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| LabelFontSize | |
| Leading | |
| LineHeight | |
| Name | |
| PointSize | |
| PreferredBody |
The preferred UIFont for the Body dynamic type. |
| PreferredCallout |
The preferred UIFont for the Callout dynamic type. |
| PreferredCaption1 |
The preferred UIFont for the Caption1 dynamic type. |
| PreferredCaption2 |
The preferred UIFont for the Caption2 dynamic type. |
| PreferredFootnote |
The preferred UIFont for the Footnote dynamic type. |
| PreferredHeadline |
The preferred UIFont for the Headline dynamic type. |
| PreferredSubheadline |
The preferred UIFont for the Subheadline dynamic type. |
| PreferredTitle1 |
The preferred UIFont for the Title1 dynamic type. |
| PreferredTitle2 |
The preferred UIFont for the Title2 dynamic type. |
| PreferredTitle3 |
The preferred UIFont for the Title3 dynamic type. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| SmallSystemFontSize | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SystemFontSize | |
| xHeight |
Obsolete.
The size of the a lower cased "x", as measured in points. |
| XHeight | |
| Zone | (Inherited from NSObject) |
Methods
Operators
| Name | Description |
|---|---|
| Equality(UIFont, UIFont) |
Compares two UIFont objects for value equality. |
| Inequality(UIFont, UIFont) |
Compares two UIFont objects for value inequality. |