TextBox : Control

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
DependencyProperty AcceptsReturnProperty WASM, Skia, Mobile
DependencyProperty CanPasteClipboardContentProperty Skia
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 ProofingMenuFlyoutProperty Skia
DependencyProperty SelectionFlyoutProperty Skia
DependencyProperty SelectionHighlightColorProperty WASM, Skia, Mobile
DependencyProperty TextAlignmentProperty WASM, Skia, Mobile
DependencyProperty TextProperty WASM, Skia, Mobile
DependencyProperty TextWrappingProperty WASM, Skia, Mobile
bool AcceptsReturn WASM, Skia, Mobile
bool CanPasteClipboardContent Skia
bool CanRedo Skia
bool CanUndo Skia
CharacterCasing CharacterCasing Android
object Description WASM, Skia, Mobile
object Header WASM, Skia, Mobile
DataTemplate HeaderTemplate WASM, Skia, Mobile
InputScope InputScope WASM, Skia, Mobile
bool IsReadOnly WASM, Skia, Mobile
bool IsSpellCheckEnabled WASM, Skia, Mobile
int MaxLength WASM, Skia, Mobile
Brush PlaceholderForeground WASM, Skia, Mobile
string PlaceholderText WASM, Skia, Mobile
bool PreventKeyboardDisplayOnProgrammaticFocus Android
FlyoutBase ProofingMenuFlyout Skia
string SelectedText WASM, Skia, Mobile
FlyoutBase SelectionFlyout Skia
SolidColorBrush SelectionHighlightColor WASM, Skia, Mobile
int SelectionLength WASM, Skia, Mobile
int SelectionStart WASM, Skia, Mobile
string Text WASM, Skia, Mobile
TextAlignment TextAlignment WASM, Skia, Mobile
TextWrapping TextWrapping 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
ContextMenuOpeningEventHandler ContextMenuOpening Skia
TextControlPasteEventHandler Paste WASM, Skia, Mobile
RoutedEventHandler SelectionChanged WASM, Skia, Mobile
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging WASM, Skia, Mobile
TextChangedEventHandler TextChanged WASM, Skia, Mobile
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging WASM, Skia, Mobile
TypedEventHandler<TextBox, TextCompositionChangedEventArgs> TextCompositionChanged Skia
TypedEventHandler<TextBox, TextCompositionEndedEventArgs> TextCompositionEnded Skia
TypedEventHandler<TextBox, TextCompositionStartedEventArgs> TextCompositionStarted Skia

Below are all properties, methods, and events of TextBox that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
DependencyProperty AcceptsReturnProperty MacOS
DependencyProperty CanPasteClipboardContentProperty WASM, Xamarin
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 WASM, Xamarin
DependencyProperty SelectionFlyoutProperty WASM, Xamarin
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
bool HasUnwrappableNativeObject all platforms supported by Uno Platform
IObjectReference NativeObject all platforms supported by Uno Platform
bool AcceptsReturn MacOS
bool CanPasteClipboardContent WASM, Xamarin
bool CanRedo WASM, Xamarin
bool CanUndo WASM, Xamarin
CharacterCasing CharacterCasing iOS, MacOS, WASM, Skia, tvOS
object Description MacOS
CandidateWindowAlignment DesiredCandidateWindowAlignment all platforms supported by Uno Platform
object Header MacOS
DataTemplate HeaderTemplate MacOS
TextAlignment HorizontalTextAlignment all platforms supported by Uno Platform
InputScope InputScope MacOS
bool IsColorFontEnabled all platforms supported by Uno Platform
bool IsReadOnly MacOS
bool IsSpellCheckEnabled MacOS
bool IsTextPredictionEnabled all platforms supported by Uno Platform
int MaxLength MacOS
Brush PlaceholderForeground MacOS
string PlaceholderText MacOS
bool PreventKeyboardDisplayOnProgrammaticFocus iOS, MacOS, WASM, Skia, tvOS
FlyoutBase ProofingMenuFlyout WASM, Xamarin
string SelectedText MacOS
FlyoutBase SelectionFlyout WASM, Xamarin
SolidColorBrush SelectionHighlightColor MacOS
SolidColorBrush SelectionHighlightColorWhenNotFocused all platforms supported by Uno Platform
int SelectionLength MacOS
int SelectionStart MacOS
string Text MacOS
TextAlignment TextAlignment MacOS
TextReadingOrder TextReadingOrder all platforms supported by Uno Platform
TextWrapping TextWrapping MacOS

Not implemented methods

Method Not supported on
I As() all platforms supported by Uno Platform
TextBox FromAbi(nint) all platforms supported by Uno Platform
bool Equals(TextBox) all platforms supported by Uno Platform
bool Equals(object) all platforms supported by Uno Platform
int GetHashCode() all platforms supported by Uno Platform
void Select(int, int) MacOS
void SelectAll() MacOS
Rect GetRectFromCharacterIndex(int, bool) all platforms supported by Uno Platform
IAsyncOperation<IReadOnlyList> GetLinguisticAlternativesAsync() all platforms supported by Uno Platform
void Undo() WASM, Xamarin
void Redo() WASM, Xamarin
void PasteFromClipboard() MacOS
void CopySelectionToClipboard() MacOS
void CutSelectionToClipboard() MacOS
void ClearUndoRedoHistory() WASM, Xamarin
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging MacOS
TypedEventHandler<TextBox, CandidateWindowBoundsChangedEventArgs> CandidateWindowBoundsChanged all platforms supported by Uno Platform
ContextMenuOpeningEventHandler ContextMenuOpening WASM, Xamarin
TypedEventHandler<TextBox, TextControlCopyingToClipboardEventArgs> CopyingToClipboard all platforms supported by Uno Platform
TypedEventHandler<TextBox, TextControlCuttingToClipboardEventArgs> CuttingToClipboard all platforms supported by Uno Platform
TextControlPasteEventHandler Paste MacOS
RoutedEventHandler SelectionChanged MacOS
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging MacOS
TextChangedEventHandler TextChanged MacOS
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging MacOS
TypedEventHandler<TextBox, TextCompositionChangedEventArgs> TextCompositionChanged WASM, Xamarin
TypedEventHandler<TextBox, TextCompositionEndedEventArgs> TextCompositionEnded WASM, Xamarin
TypedEventHandler<TextBox, TextCompositionStartedEventArgs> TextCompositionStarted WASM, Xamarin

Last updated Thursday, 16 July 2026 23:16.