<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIListContentTextProperties",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIListContentTextProperties"
  },
  "title" : "UIListContentTextProperties"
}
-->

# UIListContentTextProperties

Properties that affect the list content configuration’s text.

```
@interface UIListContentTextProperties : NSObject
```

## Topics

### Configuring text properties

[`@property (nonatomic, strong) UIFont * font;`](/documentation/UIKit/UIListContentTextProperties/font)

The font for the text.

[`@property (nonatomic, strong) UIColor * color;`](/documentation/UIKit/UIListContentTextProperties/color)

The color of the text.

[`@property (nonatomic, copy, nullable) UIConfigurationColorTransformer colorTransformer;`](/documentation/UIKit/UIListContentTextProperties/colorTransformer)

The color transformer for resolving the text color.

[`- (UIColor *) resolvedColor;`](/documentation/UIKit/UIListContentTextProperties/resolvedColor)

Generates the resolved color for the specified color, using the text color and color transformer.

[`@property (nonatomic) UIListContentTextAlignment alignment;`](/documentation/UIKit/UIListContentTextProperties/alignment)

The alignment for the text.

[`@property (nonatomic) NSLineBreakMode lineBreakMode;`](/documentation/UIKit/UIListContentTextProperties/lineBreakMode)

The line break mode to use for the text.

[`@property (nonatomic) NSInteger numberOfLines;`](/documentation/UIKit/UIListContentTextProperties/numberOfLines)

The maximum number of lines for the text.

[`@property (nonatomic) BOOL adjustsFontSizeToFitWidth;`](/documentation/UIKit/UIListContentTextProperties/adjustsFontSizeToFitWidth)

A Boolean value that determines whether the configuration automatically adjusts the font size of the text when necessary to fit in the available width.

[`@property (nonatomic) CGFloat minimumScaleFactor;`](/documentation/UIKit/UIListContentTextProperties/minimumScaleFactor)

The smallest multiplier for the font size that the configuration uses to make the text fit.

[`@property (nonatomic) BOOL allowsDefaultTighteningForTruncation;`](/documentation/UIKit/UIListContentTextProperties/allowsDefaultTighteningForTruncation)

A Boolean value that determines whether the configuration tightens the text before truncating.

[`@property (nonatomic) BOOL adjustsFontForContentSizeCategory;`](/documentation/UIKit/UIListContentTextProperties/adjustsFontForContentSizeCategory)

A Boolean value that determines whether the configuration automatically updates the font when the content size category changes.

[`enum UIListContentTextAlignment : NSInteger;`](/documentation/UIKit/UIListContentTextAlignment)

Constants that specify the visual alignment of the text.

[`@property (nonatomic) UIListContentTextTransform transform;`](/documentation/UIKit/UIListContentTextProperties/transform)

The transform to apply to the text.

[`enum UIListContentTextTransform : NSInteger;`](/documentation/UIKit/UIListContentTextTransform)

Constants that specify the transform to apply to the text.

[`@property (nonatomic) BOOL showsExpansionTextWhenTruncated;`](/documentation/UIKit/UIListContentTextProperties/showsExpansionTextWhenTruncated)

A Boolean value that determines whether the full text displays when the pointer hovers over the truncated text.

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)