TextBox : Control
Implemented for: all platforms supported by Uno Platform
This document lists all properties, methods, and events of TextBox
that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.
To better understand how TextBox
works, you can use the Uno Gallery or run your own tests on the Uno Playground.
Implemented properties
Property | Supported on |
---|---|
TextWrapping TextWrapping | all platforms supported by Uno Platform |
TextAlignment TextAlignment | all platforms supported by Uno Platform |
string Text | all platforms supported by Uno Platform |
int SelectionStart | all platforms supported by Uno Platform |
int SelectionLength | all platforms supported by Uno Platform |
SolidColorBrush SelectionHighlightColor | all platforms supported by Uno Platform |
string SelectedText | all platforms supported by Uno Platform |
bool PreventKeyboardDisplayOnProgrammaticFocus | Android |
string PlaceholderText | all platforms supported by Uno Platform |
Brush PlaceholderForeground | all platforms supported by Uno Platform |
int MaxLength | all platforms supported by Uno Platform |
bool IsSpellCheckEnabled | all platforms supported by Uno Platform |
bool IsReadOnly | all platforms supported by Uno Platform |
InputScope InputScope | all platforms supported by Uno Platform |
DataTemplate HeaderTemplate | all platforms supported by Uno Platform |
object Header | all platforms supported by Uno Platform |
object Description | all platforms supported by Uno Platform |
CharacterCasing CharacterCasing | Android |
bool AcceptsReturn | all platforms supported by Uno Platform |
bool CanRedo | Skia |
bool CanUndo | Skia |
DependencyProperty AcceptsReturnProperty | all platforms supported by Uno Platform |
DependencyProperty CanRedoProperty | Skia |
DependencyProperty CanUndoProperty | Skia |
DependencyProperty CharacterCasingProperty | Android |
DependencyProperty DescriptionProperty | all platforms supported by Uno Platform |
DependencyProperty HeaderProperty | all platforms supported by Uno Platform |
DependencyProperty HeaderTemplateProperty | all platforms supported by Uno Platform |
DependencyProperty InputScopeProperty | all platforms supported by Uno Platform |
DependencyProperty IsReadOnlyProperty | all platforms supported by Uno Platform |
DependencyProperty IsSpellCheckEnabledProperty | all platforms supported by Uno Platform |
DependencyProperty MaxLengthProperty | all platforms supported by Uno Platform |
DependencyProperty PlaceholderForegroundProperty | all platforms supported by Uno Platform |
DependencyProperty PlaceholderTextProperty | all platforms supported by Uno Platform |
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty | Android |
DependencyProperty SelectionHighlightColorProperty | all platforms supported by Uno Platform |
DependencyProperty TextAlignmentProperty | all platforms supported by Uno Platform |
DependencyProperty TextProperty | all platforms supported by Uno Platform |
DependencyProperty TextWrappingProperty | all platforms supported by Uno Platform |
Implemented methods
Method | Supported on |
---|---|
void Select(int, int) | all platforms supported by Uno Platform |
void SelectAll() | all platforms supported by Uno Platform |
void Undo() | Skia |
void Redo() | Skia |
void PasteFromClipboard() | all platforms supported by Uno Platform |
void CopySelectionToClipboard() | all platforms supported by Uno Platform |
void CutSelectionToClipboard() | all platforms supported by Uno Platform |
void ClearUndoRedoHistory() | Skia |
Implemented events
Event | Supported on |
---|---|
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging | all platforms supported by Uno Platform |
TextControlPasteEventHandler Paste | Mobile, WASM, Skia |
RoutedEventHandler SelectionChanged | all platforms supported by Uno Platform |
TextChangedEventHandler TextChanged | all platforms supported by Uno Platform |
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging | all platforms supported by Uno Platform |
Below are all properties, methods, and events of TextBox
that are not currently implemented in Uno.
Not implemented properties
Not implemented methods
Method | Not supported on |
---|---|
Rect GetRectFromCharacterIndex(int, bool) | all platforms supported by Uno Platform |
IAsyncOperation<IReadOnlyList |
all platforms supported by Uno Platform |
void Undo() | Xamarin, WASM |
void Redo() | Xamarin, WASM |
void ClearUndoRedoHistory() | Xamarin, WASM |
Not implemented events
Last updated Friday, 29 November 2024 20:19.