TextBox : Control

Implemented for: Skia

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 Skia
DependencyProperty CanPasteClipboardContentProperty Skia
DependencyProperty CanRedoProperty Skia
DependencyProperty CanUndoProperty Skia
DependencyProperty DescriptionProperty Skia
DependencyProperty HeaderProperty Skia
DependencyProperty HeaderTemplateProperty Skia
DependencyProperty InputScopeProperty Skia
DependencyProperty IsReadOnlyProperty Skia
DependencyProperty IsSpellCheckEnabledProperty Skia
DependencyProperty MaxLengthProperty Skia
DependencyProperty PlaceholderForegroundProperty Skia
DependencyProperty PlaceholderTextProperty Skia
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty Skia
DependencyProperty ProofingMenuFlyoutProperty Skia
DependencyProperty SelectionFlyoutProperty Skia
DependencyProperty SelectionHighlightColorProperty Skia
DependencyProperty TextAlignmentProperty Skia
DependencyProperty TextProperty Skia
DependencyProperty TextWrappingProperty Skia
bool AcceptsReturn Skia
bool CanPasteClipboardContent Skia
bool CanRedo Skia
bool CanUndo Skia
object Description Skia
object Header Skia
DataTemplate HeaderTemplate Skia
InputScope InputScope Skia
bool IsReadOnly Skia
bool IsSpellCheckEnabled Skia
int MaxLength Skia
Brush PlaceholderForeground Skia
string PlaceholderText Skia
bool PreventKeyboardDisplayOnProgrammaticFocus Skia
FlyoutBase ProofingMenuFlyout Skia
string SelectedText Skia
FlyoutBase SelectionFlyout Skia
SolidColorBrush SelectionHighlightColor Skia
int SelectionLength Skia
int SelectionStart Skia
string Text Skia
TextAlignment TextAlignment Skia
TextWrapping TextWrapping Skia

Implemented methods

Method Supported on
void Select(int, int) Skia
void SelectAll() Skia
void Undo() Skia
void Redo() Skia
void PasteFromClipboard() Skia
void CopySelectionToClipboard() Skia
void CutSelectionToClipboard() Skia
void ClearUndoRedoHistory() Skia

Implemented events

Event Supported on
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging Skia
ContextMenuOpeningEventHandler ContextMenuOpening Skia
TextControlPasteEventHandler Paste Skia
RoutedEventHandler SelectionChanged Skia
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging Skia
TextChangedEventHandler TextChanged Skia
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging Skia
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 WASM, Xamarin
DependencyProperty CanPasteClipboardContentProperty WASM, Xamarin
DependencyProperty CanRedoProperty WASM, Xamarin
DependencyProperty CanUndoProperty WASM, Xamarin
DependencyProperty CharacterCasingProperty all platforms supported by Uno Platform
DependencyProperty DescriptionProperty WASM, Xamarin
DependencyProperty DesiredCandidateWindowAlignmentProperty all platforms supported by Uno Platform
DependencyProperty HeaderProperty WASM, Xamarin
DependencyProperty HeaderTemplateProperty WASM, Xamarin
DependencyProperty HorizontalTextAlignmentProperty all platforms supported by Uno Platform
DependencyProperty InputScopeProperty WASM, Xamarin
DependencyProperty IsColorFontEnabledProperty all platforms supported by Uno Platform
DependencyProperty IsReadOnlyProperty WASM, Xamarin
DependencyProperty IsSpellCheckEnabledProperty WASM, Xamarin
DependencyProperty IsTextPredictionEnabledProperty all platforms supported by Uno Platform
DependencyProperty MaxLengthProperty WASM, Xamarin
DependencyProperty PlaceholderForegroundProperty WASM, Xamarin
DependencyProperty PlaceholderTextProperty WASM, Xamarin
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty WASM, Xamarin
DependencyProperty ProofingMenuFlyoutProperty WASM, Xamarin
DependencyProperty SelectionFlyoutProperty WASM, Xamarin
DependencyProperty SelectionHighlightColorProperty WASM, Xamarin
DependencyProperty SelectionHighlightColorWhenNotFocusedProperty all platforms supported by Uno Platform
DependencyProperty TextAlignmentProperty WASM, Xamarin
DependencyProperty TextProperty WASM, Xamarin
DependencyProperty TextReadingOrderProperty all platforms supported by Uno Platform
DependencyProperty TextWrappingProperty WASM, Xamarin
bool HasUnwrappableNativeObject all platforms supported by Uno Platform
IObjectReference NativeObject all platforms supported by Uno Platform
bool AcceptsReturn WASM, Xamarin
bool CanPasteClipboardContent WASM, Xamarin
bool CanRedo WASM, Xamarin
bool CanUndo WASM, Xamarin
CharacterCasing CharacterCasing all platforms supported by Uno Platform
object Description WASM, Xamarin
CandidateWindowAlignment DesiredCandidateWindowAlignment all platforms supported by Uno Platform
object Header WASM, Xamarin
DataTemplate HeaderTemplate WASM, Xamarin
TextAlignment HorizontalTextAlignment all platforms supported by Uno Platform
InputScope InputScope WASM, Xamarin
bool IsColorFontEnabled all platforms supported by Uno Platform
bool IsReadOnly WASM, Xamarin
bool IsSpellCheckEnabled WASM, Xamarin
bool IsTextPredictionEnabled all platforms supported by Uno Platform
int MaxLength WASM, Xamarin
Brush PlaceholderForeground WASM, Xamarin
string PlaceholderText WASM, Xamarin
bool PreventKeyboardDisplayOnProgrammaticFocus WASM, Xamarin
FlyoutBase ProofingMenuFlyout WASM, Xamarin
string SelectedText WASM, Xamarin
FlyoutBase SelectionFlyout WASM, Xamarin
SolidColorBrush SelectionHighlightColor WASM, Xamarin
SolidColorBrush SelectionHighlightColorWhenNotFocused all platforms supported by Uno Platform
int SelectionLength WASM, Xamarin
int SelectionStart WASM, Xamarin
string Text WASM, Xamarin
TextAlignment TextAlignment WASM, Xamarin
TextReadingOrder TextReadingOrder all platforms supported by Uno Platform
TextWrapping TextWrapping WASM, Xamarin

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) WASM, Xamarin
void SelectAll() WASM, Xamarin
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() WASM, Xamarin
void CopySelectionToClipboard() WASM, Xamarin
void CutSelectionToClipboard() WASM, Xamarin
void ClearUndoRedoHistory() WASM, Xamarin
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging WASM, Xamarin
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 WASM, Xamarin
RoutedEventHandler SelectionChanged WASM, Xamarin
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging WASM, Xamarin
TextChangedEventHandler TextChanged WASM, Xamarin
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging WASM, Xamarin
TypedEventHandler<TextBox, TextCompositionChangedEventArgs> TextCompositionChanged WASM, Xamarin
TypedEventHandler<TextBox, TextCompositionEndedEventArgs> TextCompositionEnded WASM, Xamarin
TypedEventHandler<TextBox, TextCompositionStartedEventArgs> TextCompositionStarted WASM, Xamarin

Last updated Friday, 13 November 2026 23:32.