DevToys logo DevToys
  • Home
  • Blog
  • Documentation
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IUIMultiLineTextInput

    A component that can be used to display or edit unformatted text on multiple lines.

    Inherited Members
    IUISingleLineTextInput.IsReadOnly
    IUISingleLineTextInput.CanCopyWhenEditable
    IUISingleLineTextInput.Text
    IUISingleLineTextInput.CommandBarExtraContent
    IUISingleLineTextInput.HideCommandBar
    IUISingleLineTextInput.IsReadOnlyChanged
    IUISingleLineTextInput.CanCopyWhenEditableChanged
    IUISingleLineTextInput.TextChanged
    IUISingleLineTextInput.CommandBarExtraContentChanged
    IUISingleLineTextInput.HideCommandBarChanged
    IUITitledElement.Title
    IUITitledElement.TitleChanged
    IUIElementWithChildren.GetChildElementById(string)
    IUIElement.Id
    IUIElement.IsVisible
    IUIElement.IsEnabled
    IUIElement.HorizontalAlignment
    IUIElement.VerticalAlignment
    IUIElement.IsVisibleChanged
    IUIElement.IsEnabledChanged
    IUIElement.HorizontalAlignmentChanged
    IUIElement.VerticalAlignmentChanged
    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

    Extension Methods

    GUI.AlignHorizontally<T>(T, UIHorizontalAlignment)
    GUI.AlignVertically<T>(T, UIVerticalAlignment)
    GUI.AlwaysShowLineNumber(IUIMultiLineTextInput)
    GUI.AlwaysWrap(IUIMultiLineTextInput)
    GUI.AutoLineNumber(IUIMultiLineTextInput)
    GUI.AutoWrap(IUIMultiLineTextInput)
    GUI.CanCopyWhenEditable<T>(T)
    GUI.CannotCopyWhenEditable<T>(T)
    GUI.CommandBarExtraContent<T>(T, IUIElement?)
    GUI.Disable<T>(T)
    GUI.Editable<T>(T)
    GUI.Enable<T>(T)
    GUI.Extendable(IUIMultiLineTextInput)
    GUI.HideCommandBar<T>(T)
    GUI.Hide<T>(T)
    GUI.Highlight(IUIMultiLineTextInput, params UIHighlightedTextSpan[])
    GUI.HoverTooltip(IUIMultiLineTextInput, params UIHoverTooltip[])
    GUI.Language(IUIMultiLineTextInput, string)
    GUI.NeverShowLineNumber(IUIMultiLineTextInput)
    GUI.NeverWrap(IUIMultiLineTextInput)
    GUI.NotExtendable(IUIMultiLineTextInput)
    GUI.OnTextChanged<T>(T, Action<string>)
    GUI.OnTextChanged<T>(T, Func<string, ValueTask>)
    GUI.ReadOnly<T>(T)
    GUI.Select(IUIMultiLineTextInput, TextSpan)
    GUI.Select(IUIMultiLineTextInput, int, int)
    GUI.ShowCommandBar<T>(T)
    GUI.Show<T>(T)
    GUI.SynchronizeScrollBarWith(IUIMultiLineTextInput, IUIMultiLineTextInput?)
    GUI.Text<T>(T, string)
    GUI.Title<T>(T, string?)
    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys