Interface IUIMultiLineTextInput
A component that can be used to display or edit unformatted text on multiple lines.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUIMultiLineTextInput : IUISingleLineTextInput, IUITitledElementWithChildren, IUITitledElement, IUIElementWithChildren, IUIElement
Properties
HighlightedSpans
Gets the list of spans to highlight in the text document.
Declaration
IReadOnlyList<UIHighlightedTextSpan> HighlightedSpans { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<UIHighlightedTextSpan> |
HoverTooltips
Gets the list of tooltip to display on word hover.
Declaration
IReadOnlyList<UIHoverTooltip> HoverTooltips { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<UIHoverTooltip> |
IsExtendableToFullScreen
Gets whether the element can be expanded to take the size of the whole tool boundaries. Default is false.
Declaration
bool IsExtendableToFullScreen { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
When IsVisible is false and that the element is in full screen mode, the element goes back to normal mode.
LineNumberMode
Gets how the line number should be displayed in the text editor. Default is Auto.
Declaration
UITextLineNumber LineNumberMode { get; }
Property Value
| Type | Description |
|---|---|
| UITextLineNumber |
Selection
Gets the primary selection of the text control. When the selection length is 0, the span indicates the caret position.
Declaration
TextSpan Selection { get; }
Property Value
| Type | Description |
|---|---|
| TextSpan |
SyntaxColorizationLanguageName
Gets the programming language name to use when colorizing the text in the control.
Declaration
string SyntaxColorizationLanguageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
TextInputToSynchronizeScrollBarWith
Gets the text input to synchronize the scroll bar with.
Declaration
IUIMultiLineTextInput? TextInputToSynchronizeScrollBarWith { get; }
Property Value
| Type | Description |
|---|---|
| IUIMultiLineTextInput |
WrapMode
Gets how the text should wrap when it reached the maximum horizontal space it can take. Default is Auto.
Declaration
UITextWrapMode WrapMode { get; }
Property Value
| Type | Description |
|---|---|
| UITextWrapMode |
Events
HighlightedSpansChanged
Raised when HighlightedSpans is changed.
Declaration
event EventHandler? HighlightedSpansChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
HoverTooltipChanged
Raised when HoverTooltips is changed.
Declaration
event EventHandler? HoverTooltipChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
IsExtendableToFullScreenChanged
Raised when IsExtendableToFullScreen is changed.
Declaration
event EventHandler? IsExtendableToFullScreenChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
LineNumberModeChanged
Raised when LineNumberMode is changed.
Declaration
event EventHandler? LineNumberModeChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
SelectionChanged
Raised when Selection is changed.
Declaration
event EventHandler? SelectionChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
SyntaxColorizationLanguageNameChanged
Raised when SyntaxColorizationLanguageName is changed.
Declaration
event EventHandler? SyntaxColorizationLanguageNameChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
TextInputToSynchronizeScrollBarWithChanged
Raised when TextInputToSynchronizeScrollBarWith is changed.
Declaration
event EventHandler? TextInputToSynchronizeScrollBarWithChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |
WrapModeChanged
Raised when WrapMode is changed.
Declaration
event EventHandler? WrapModeChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |