If you need the Text component to be underlined with horizontal lines, you can use the LinesOfUnderline property of the Text component. This property allows you to choose the style of the underline. If you select the None style, no underline is displayed.