UIKit.UILabel: Property Members

The properties of UIKit.UILabel are listed below. For a list of all members, see the UILabel Members list.

See Also: Inherited members from UIKit.UIView

Public Properties

AdjustsFontSizeToFitWidthbool. Whether the font size should be automatically reduced so that the title can be fully rendered in the UILabel's bounds.
AdjustsLetterSpacingToFitWidthbool. App developers should use MinimumScaleFactor rather than this deprecated method.
[read-only]
static
AppearanceUILabel.UILabelAppearance. Strongly-typed property that returns the UIAppearance class for this class.
AttributedTextFoundation.NSAttributedString. Sets the text for the label using attributed strings.
BaselineAdjustmentUIBaselineAdjustment. How baselines are adjusted when the Text is shrunk to fit the UILabel's bounds.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
Enabledbool. The enabled state to use when drawing this UILabel's Text.
FontUIFont. The font of the Text.
Highlightedbool. Whether this UILabel should be drawn with a highlight.
HighlightedTextColorUIColor. The color to use to highlight the label's Text.
LineBreakModeUILineBreakMode. The technique used for wrapping and truncating this UILabel's Text.
Linesnint. The maximum number of lines to use for rendering the Text.
MinimumFontSizenfloat. App developers should use MinimumScaleFactor rather than this deprecated method.
MinimumScaleFactornfloat. The minimum scale supported for the Text.
PreferredMaxLayoutWidthnfloat. The preferred maximum width, in points, for a multiline label.
ShadowColorUIColor. The color to use for the Text's shadow.
ShadowOffsetCoreGraphics.CGSize. The offset of the shadow, in points, from the Text.
Textstring. The text displayed by this UILabel.
TextAlignmentUITextAlignment. Controls the text alignment.
TextColorUIColor. The color of the Text.