TextBox : Control

Implemented for: all platforms

This document lists all properties, methods, and events of TextBox that are currently implemented by the Uno Platform. See the UWP documentation for detailed usage guidelines.

Implemented properties

Property Supported on
TextWrapping TextWrapping all platforms
TextAlignment TextAlignment all platforms
string Text all platforms
int SelectionStart all platforms
int SelectionLength all platforms
int MaxLength all platforms
bool IsSpellCheckEnabled all platforms
bool IsReadOnly all platforms
InputScope InputScope all platforms
bool AcceptsReturn all platforms
string PlaceholderText all platforms
bool PreventKeyboardDisplayOnProgrammaticFocus Android
DataTemplate HeaderTemplate all platforms
object Header all platforms
CharacterCasing CharacterCasing Android
DependencyProperty TextWrappingProperty all platforms
DependencyProperty TextProperty all platforms
DependencyProperty TextAlignmentProperty all platforms
DependencyProperty MaxLengthProperty all platforms
DependencyProperty IsSpellCheckEnabledProperty all platforms
DependencyProperty IsReadOnlyProperty all platforms
DependencyProperty InputScopeProperty all platforms
DependencyProperty AcceptsReturnProperty all platforms
DependencyProperty HeaderTemplateProperty all platforms
DependencyProperty HeaderProperty all platforms
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty Android
DependencyProperty PlaceholderTextProperty all platforms
DependencyProperty CharacterCasingProperty Android

Implemented methods

Method Supported on
void Select(int, int) all platforms
void SelectAll() all platforms

Implemented events

Event Supported on
RoutedEventHandler SelectionChanged all platforms
TextChangedEventHandler TextChanged all platforms
TypedEventHandler<TextBox, TextBoxTextChangingEventArgs> TextChanging all platforms
TypedEventHandler<TextBox, TextBoxBeforeTextChangingEventArgs> BeforeTextChanging all platforms

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

Not implemented properties

Property Not supported on
string SelectedText all platforms
bool IsTextPredictionEnabled all platforms
bool IsColorFontEnabled all platforms
bool PreventKeyboardDisplayOnProgrammaticFocus iOS, MacOS, WASM, Skia
SolidColorBrush SelectionHighlightColor all platforms
CandidateWindowAlignment DesiredCandidateWindowAlignment all platforms
TextReadingOrder TextReadingOrder all platforms
SolidColorBrush SelectionHighlightColorWhenNotFocused all platforms
Brush PlaceholderForeground all platforms
TextAlignment HorizontalTextAlignment all platforms
CharacterCasing CharacterCasing iOS, MacOS, WASM, Skia
bool IsHandwritingViewEnabled all platforms
HandwritingView HandwritingView all platforms
FlyoutBase SelectionFlyout all platforms
object Description all platforms
bool CanPasteClipboardContent all platforms
bool CanRedo all platforms
bool CanUndo all platforms
FlyoutBase ProofingMenuFlyout all platforms
DependencyProperty IsTextPredictionEnabledProperty all platforms
DependencyProperty SelectionHighlightColorProperty all platforms
DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty iOS, MacOS, WASM, Skia
DependencyProperty IsColorFontEnabledProperty all platforms
DependencyProperty DesiredCandidateWindowAlignmentProperty all platforms
DependencyProperty TextReadingOrderProperty all platforms
DependencyProperty SelectionHighlightColorWhenNotFocusedProperty all platforms
DependencyProperty PlaceholderForegroundProperty all platforms
DependencyProperty HorizontalTextAlignmentProperty all platforms
DependencyProperty CharacterCasingProperty iOS, MacOS, WASM, Skia
DependencyProperty IsHandwritingViewEnabledProperty all platforms
DependencyProperty HandwritingViewProperty all platforms
DependencyProperty SelectionFlyoutProperty all platforms
DependencyProperty ProofingMenuFlyoutProperty all platforms
DependencyProperty DescriptionProperty all platforms
DependencyProperty CanUndoProperty all platforms
DependencyProperty CanRedoProperty all platforms
DependencyProperty CanPasteClipboardContentProperty all platforms

Not implemented methods

Method Not supported on
Rect GetRectFromCharacterIndex(int, bool) all platforms
IAsyncOperation<IReadOnlyList> GetLinguisticAlternativesAsync() all platforms
void Undo() all platforms
void Redo() all platforms
void PasteFromClipboard() all platforms
void CopySelectionToClipboard() all platforms
void CutSelectionToClipboard() all platforms
void ClearUndoRedoHistory() all platforms

Not implemented events

Event Not supported on
ContextMenuOpeningEventHandler ContextMenuOpening all platforms
TextControlPasteEventHandler Paste all platforms
TypedEventHandler<TextBox, CandidateWindowBoundsChangedEventArgs> CandidateWindowBoundsChanged all platforms
TypedEventHandler<TextBox, TextCompositionChangedEventArgs> TextCompositionChanged all platforms
TypedEventHandler<TextBox, TextCompositionEndedEventArgs> TextCompositionEnded all platforms
TypedEventHandler<TextBox, TextCompositionStartedEventArgs> TextCompositionStarted all platforms
TypedEventHandler<TextBox, TextControlCopyingToClipboardEventArgs> CopyingToClipboard all platforms
TypedEventHandler<TextBox, TextControlCuttingToClipboardEventArgs> CuttingToClipboard all platforms
TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs> SelectionChanging all platforms

Last updated Wednesday, October 20, 2021 12:49 PM.