The TAutoSize class represents the auto-sizing attributes to use for the content of a UI element or control. The height, width, or both can be set as auto-sized. The content of a UI element or control that is used to determine the height and/or width can be text or HTML content, as well as the space consumed by child UI elements or controls.