---
title: isEnabled
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilabel/isenabled
---

# isEnabled

A Boolean value that determines whether the label draws its text in an enabled state.

## Declaration

```swift
var isEnabled: Bool { get set }
```

## Discussion

Discussion This property determines only how the label draws its text. The label dims the text somewhat when not enabled to indicate it’s not active. The default value of this property is true.

## See Also

### Related Documentation

- [adjustsFontSizeToFitWidth](uikit/uilabel/adjustsfontsizetofitwidth.md)

### Accessing the text attributes

- [text](uikit/uilabel/text.md)
- [attributedText](uikit/uilabel/attributedtext.md)
- [font](uikit/uilabel/font.md)
- [textColor](uikit/uilabel/textcolor.md)
- [textAlignment](uikit/uilabel/textalignment.md)
- [lineBreakMode](uikit/uilabel/linebreakmode.md)
- [lineBreakStrategy](uikit/uilabel/linebreakstrategy.md)
- [enablesMarqueeWhenAncestorFocused](uikit/uilabel/enablesmarqueewhenancestorfocused.md)
- [showsExpansionTextWhenTruncated](uikit/uilabel/showsexpansiontextwhentruncated.md)
