The members of UIKit.UILabel are listed below.
See Also: Inherited members from UIKit.UIView
UILabel() | Default constructor that initializes a new instance of this class with no parameters. | |
Initializes the UILabel with the specified frame. | ||
A constructor that initializes the object from the data stored in the unarchiver object. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
AdjustsFontSizeToFitWidth | bool. Whether the font size should be automatically reduced so that the title can be fully rendered in the UILabel's bounds. | |
AdjustsLetterSpacingToFitWidth | bool. App developers should use MinimumScaleFactor rather than this deprecated method. | |
[read-only] static | Appearance | UILabel.UILabelAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
AttributedText | Foundation.NSAttributedString. Sets the text for the label using attributed strings. | |
BaselineAdjustment | UIBaselineAdjustment. How baselines are adjusted when the Text is shrunk to fit the UILabel's bounds. | |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
Enabled | bool. The enabled state to use when drawing this UILabel's Text. | |
Font | UIFont. The font of the Text. | |
Highlighted | bool. Whether this UILabel should be drawn with a highlight. | |
HighlightedTextColor | UIColor. The color to use to highlight the label's Text. | |
LineBreakMode | UILineBreakMode. The technique used for wrapping and truncating this UILabel's Text. | |
Lines | nint. The maximum number of lines to use for rendering the Text. | |
MinimumFontSize | nfloat. App developers should use MinimumScaleFactor rather than this deprecated method. | |
MinimumScaleFactor | nfloat. The minimum scale supported for the Text. | |
PreferredMaxLayoutWidth | nfloat. The preferred maximum width, in points, for a multiline label. | |
ShadowColor | UIColor. The color to use for the Text's shadow. | |
ShadowOffset | CoreGraphics.CGSize. The offset of the shadow, in points, from the Text. | |
Text | string. The text displayed by this UILabel. | |
TextAlignment | UITextAlignment. Controls the text alignment. | |
TextColor | UIColor. The color of the Text. |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
DrawText(CoreGraphics.CGRect)Renders this UILabel's Text (or its shadow) in the specified RectangleF. | ||
static | GetAppearance<T>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)Documentation for this section has not yet been entered. | |
static | GetAppearance<T>(UITraitCollection, params Type[])Documentation for this section has not yet been entered. | |
TextRectForBounds(CoreGraphics.CGRect, nint)The drawing RectangleF for this UILabel's Text. |