Implemented for: WASM, Skia, Mobile
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 |
WASM, Skia, Mobile |
TextAlignment TextAlignment |
WASM, Skia, Mobile |
string Text |
WASM, Skia, Mobile |
int SelectionStart |
WASM, Skia, Mobile |
int SelectionLength |
WASM, Skia, Mobile |
SolidColorBrush SelectionHighlightColor |
WASM, Skia, Mobile |
string SelectedText |
WASM, Skia, Mobile |
bool PreventKeyboardDisplayOnProgrammaticFocus |
Android |
string PlaceholderText |
WASM, Skia, Mobile |
Brush PlaceholderForeground |
WASM, Skia, Mobile |
int MaxLength |
WASM, Skia, Mobile |
bool IsSpellCheckEnabled |
WASM, Skia, Mobile |
bool IsReadOnly |
WASM, Skia, Mobile |
InputScope InputScope |
WASM, Skia, Mobile |
DataTemplate HeaderTemplate |
WASM, Skia, Mobile |
object Header |
WASM, Skia, Mobile |
object Description |
WASM, Skia, Mobile |
CharacterCasing CharacterCasing |
Android |
bool AcceptsReturn |
WASM, Skia, Mobile |
bool CanRedo |
Skia |
bool CanUndo |
Skia |
DependencyProperty AcceptsReturnProperty |
WASM, Skia, Mobile |
DependencyProperty CanRedoProperty |
Skia |
DependencyProperty CanUndoProperty |
Skia |
DependencyProperty CharacterCasingProperty |
Android |
DependencyProperty DescriptionProperty |
WASM, Skia, Mobile |
DependencyProperty HeaderProperty |
WASM, Skia, Mobile |
DependencyProperty HeaderTemplateProperty |
WASM, Skia, Mobile |
DependencyProperty InputScopeProperty |
WASM, Skia, Mobile |
DependencyProperty IsReadOnlyProperty |
WASM, Skia, Mobile |
DependencyProperty IsSpellCheckEnabledProperty |
WASM, Skia, Mobile |
DependencyProperty MaxLengthProperty |
WASM, Skia, Mobile |
DependencyProperty PlaceholderForegroundProperty |
WASM, Skia, Mobile |
DependencyProperty PlaceholderTextProperty |
WASM, Skia, Mobile |
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty |
Android |
DependencyProperty SelectionHighlightColorProperty |
WASM, Skia, Mobile |
DependencyProperty TextAlignmentProperty |
WASM, Skia, Mobile |
DependencyProperty TextProperty |
WASM, Skia, Mobile |
DependencyProperty TextWrappingProperty |
WASM, Skia, Mobile |
Implemented methods
Method |
Supported on |
void Select(int, int) |
WASM, Skia, Mobile |
void SelectAll() |
WASM, Skia, Mobile |
void Undo() |
Skia |
void Redo() |
Skia |
void PasteFromClipboard() |
WASM, Skia, Mobile |
void CopySelectionToClipboard() |
WASM, Skia, Mobile |
void CutSelectionToClipboard() |
WASM, Skia, Mobile |
void ClearUndoRedoHistory() |
Skia |
Implemented events
Event |
Supported on |
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging |
WASM, Skia, Mobile |
TextControlPasteEventHandler Paste |
WASM, Skia, Mobile |
RoutedEventHandler SelectionChanged |
WASM, Skia, Mobile |
TextChangedEventHandler TextChanged |
WASM, Skia, Mobile |
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging |
WASM, Skia, Mobile |
Below are all properties, methods, and events of TextBox
that are not currently implemented in Uno.
Not implemented properties
Property |
Not supported on |
TextWrapping TextWrapping |
MacOS |
TextReadingOrder TextReadingOrder |
all platforms supported by Uno Platform |
TextAlignment TextAlignment |
MacOS |
string Text |
MacOS |
int SelectionStart |
MacOS |
int SelectionLength |
MacOS |
SolidColorBrush SelectionHighlightColorWhenNotFocused |
all platforms supported by Uno Platform |
SolidColorBrush SelectionHighlightColor |
MacOS |
FlyoutBase SelectionFlyout |
all platforms supported by Uno Platform |
string SelectedText |
MacOS |
bool PreventKeyboardDisplayOnProgrammaticFocus |
iOS, MacOS, WASM, Skia, tvOS |
string PlaceholderText |
MacOS |
Brush PlaceholderForeground |
MacOS |
int MaxLength |
MacOS |
bool IsTextPredictionEnabled |
all platforms supported by Uno Platform |
bool IsSpellCheckEnabled |
MacOS |
bool IsReadOnly |
MacOS |
bool IsColorFontEnabled |
all platforms supported by Uno Platform |
InputScope InputScope |
MacOS |
TextAlignment HorizontalTextAlignment |
all platforms supported by Uno Platform |
DataTemplate HeaderTemplate |
MacOS |
object Header |
MacOS |
CandidateWindowAlignment DesiredCandidateWindowAlignment |
all platforms supported by Uno Platform |
object Description |
MacOS |
CharacterCasing CharacterCasing |
iOS, MacOS, WASM, Skia, tvOS |
bool AcceptsReturn |
MacOS |
bool CanPasteClipboardContent |
all platforms supported by Uno Platform |
bool CanRedo |
WASM, Xamarin |
bool CanUndo |
WASM, Xamarin |
FlyoutBase ProofingMenuFlyout |
all platforms supported by Uno Platform |
DependencyProperty AcceptsReturnProperty |
MacOS |
DependencyProperty CanPasteClipboardContentProperty |
all platforms supported by Uno Platform |
DependencyProperty CanRedoProperty |
WASM, Xamarin |
DependencyProperty CanUndoProperty |
WASM, Xamarin |
DependencyProperty CharacterCasingProperty |
iOS, MacOS, WASM, Skia, tvOS |
DependencyProperty DescriptionProperty |
MacOS |
DependencyProperty DesiredCandidateWindowAlignmentProperty |
all platforms supported by Uno Platform |
DependencyProperty HeaderProperty |
MacOS |
DependencyProperty HeaderTemplateProperty |
MacOS |
DependencyProperty HorizontalTextAlignmentProperty |
all platforms supported by Uno Platform |
DependencyProperty InputScopeProperty |
MacOS |
DependencyProperty IsColorFontEnabledProperty |
all platforms supported by Uno Platform |
DependencyProperty IsReadOnlyProperty |
MacOS |
DependencyProperty IsSpellCheckEnabledProperty |
MacOS |
DependencyProperty IsTextPredictionEnabledProperty |
all platforms supported by Uno Platform |
DependencyProperty MaxLengthProperty |
MacOS |
DependencyProperty PlaceholderForegroundProperty |
MacOS |
DependencyProperty PlaceholderTextProperty |
MacOS |
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty |
iOS, MacOS, WASM, Skia, tvOS |
DependencyProperty ProofingMenuFlyoutProperty |
all platforms supported by Uno Platform |
DependencyProperty SelectionFlyoutProperty |
all platforms supported by Uno Platform |
DependencyProperty SelectionHighlightColorProperty |
MacOS |
DependencyProperty SelectionHighlightColorWhenNotFocusedProperty |
all platforms supported by Uno Platform |
DependencyProperty TextAlignmentProperty |
MacOS |
DependencyProperty TextProperty |
MacOS |
DependencyProperty TextReadingOrderProperty |
all platforms supported by Uno Platform |
DependencyProperty TextWrappingProperty |
MacOS |
Not implemented methods
Not implemented events
Last updated Monday, 14 April 2025 02:07.