Interface IUIDiffTextInput
A component that can be used to display side by side or inlined texts and highlight differences between them.
Inherited Members
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 |