Logo FluentUI

MultiLineTextBox QML Type

A multi-line text input control. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

MultiLineTextBox provides a rich multi-line text editing area with support for placeholder text, configurable wrapping modes, and read-only operation. It is suitable for entering and editing larger amounts of text such as notes, descriptions, or code.

Usage Example

 import QtQuick
 import FluentUI.Controls

 MultiLineTextBox {
     placeholderText: "Enter your notes here..."
     wrapMode: TextEdit.WordWrap
     width: 300
     height: 200
 }

Property Documentation

font : font

The font used for the text input.

placeholderText : string

The placeholder text displayed when the input is empty. Provides a hint to the user about the expected input.

readOnly : bool

Whether the text input is read-only. When true, the user cannot modify the text content but can still select and copy text.

text : string

The text content of the input control.

wrapMode : enumeration

The text wrapping mode. Supported values include TextEdit.NoWrap, TextEdit.WordWrap, TextEdit.WrapAnywhere, and TextEdit.Wrap.