TextArea
ClassNamespace:
RazorConsole.ComponentsAssembly:
RazorConsole.CoreDefinition
public class TextArea : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposableConstructors
1| Name | Type | Description |
|---|---|---|
TextArea() | Constructor | — |
Properties
25| Name | Type | Description |
|---|---|---|
Behavior | ||
IsFocusedChanged | EventCallback<Boolean> | — |
Appearance | ||
Background | Color | — |
CharacterStyle | Func<Int32, Style> | — |
Height | Int32 | — |
PlaceholderForeground | Color | — |
RowStyle | Func<Int32, Style> | — |
Width | Int32 | — |
Events | ||
OnActivatePosition | EventCallback<Int32> | — |
OnChanged | EventCallback | — |
OnCommand | EventCallback<KeyboardEventArgs> | — |
OnCopy | EventCallback<String> | — |
OnOpenLink | EventCallback<String> | — |
OnPreviewKey | System.Func<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs,System.Threading.Tasks.Task{System.Boolean>} | — |
OnSubmit | EventCallback<String> | — |
Other | ||
Buffer | TextSelectionState | — |
CanActivatePosition | Func<Int32, Boolean> | — |
CanSubmit | Boolean | — |
ContinuationIndent | Int32 | — |
ContinuationIndentAt | Func<Int32, Int32> | — |
Editable | Boolean | — |
FollowOutput | Boolean | — |
Hook | String | — |
ManageTab | Boolean | — |
Placeholder | String | — |
WordWrap | Boolean | — |
Methods
3| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | Renders the component to the supplied RenderTreeBuilder. |
Dispose() | Method | — |
OnParametersSet() | Method | Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties. |