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

    Show / Hide Table of Contents

    Interface IUIDiffTextInput

    A component that can be used to display side by side or inlined texts and highlight differences between them.

    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 IUIDiffTextInput : IUISingleLineTextInput, IUITitledElementWithChildren, IUITitledElement, IUIElementWithChildren, IUIElement

    Properties

    InlineMode

    Gets whether the text diff control should show differences side by side or inlined.

    Declaration
    bool InlineMode { get; }
    Property Value
    Type Description
    bool

    IsExtendableToFullScreen

    Gets whether the element can be expanded to take the size of the whole tool boundaries.

    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.

    ModifiedText

    Gets the modified text displayed to the right of the diff view.

    Declaration
    string ModifiedText { get; }
    Property Value
    Type Description
    string

    OriginalText

    Gets the original text displayed to the left of the diff view.

    Declaration
    string OriginalText { get; }
    Property Value
    Type Description
    string
    Remarks

    This is the same value than Text.

    Events

    InlineModeChanged

    Raised when InlineMode is changed.

    Declaration
    event EventHandler? InlineModeChanged
    Event Type
    Type Description
    EventHandler

    IsExtendableToFullScreenChanged

    Raised when IsExtendableToFullScreen is changed.

    Declaration
    event EventHandler? IsExtendableToFullScreenChanged
    Event Type
    Type Description
    EventHandler

    ModifiedTextChanged

    Raised when ModifiedText is changed.

    Declaration
    event EventHandler? ModifiedTextChanged
    Event Type
    Type Description
    EventHandler

    Extension Methods

    GUI.AlignHorizontally<T>(T, UIHorizontalAlignment)
    GUI.AlignVertically<T>(T, UIVerticalAlignment)
    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(IUIDiffTextInput)
    GUI.HideCommandBar<T>(T)
    GUI.Hide<T>(T)
    GUI.InlineView(IUIDiffTextInput)
    GUI.ModifiedText<T>(T, string)
    GUI.NotExtendable(IUIDiffTextInput)
    GUI.OnTextChanged<T>(T, Action<string>)
    GUI.OnTextChanged<T>(T, Func<string, ValueTask>)
    GUI.OriginalText<T>(T, string)
    GUI.ReadOnly<T>(T)
    GUI.ShowCommandBar<T>(T)
    GUI.Show<T>(T)
    GUI.SplitView(IUIDiffTextInput)
    GUI.Text<T>(T, string)
    GUI.Title<T>(T, string?)
    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys