3 types derived from InputView
Microsoft.Maui.Controls (3)
Editor\Editor.cs (1)
12 public partial class Editor : InputView, IEditorController, ITextAlignmentElement, IElementConfiguration<Editor>, IEditor
Entry\Entry.cs (1)
12 public partial class Entry : InputView, ITextAlignmentElement, IEntryController, IElementConfiguration<Entry>, IEntry
SearchBar\SearchBar.cs (1)
11 public partial class SearchBar : InputView, ITextAlignmentElement, ISearchBarController, IElementConfiguration<SearchBar>, ICommandElement, ISearchBar
90 references to InputView
Microsoft.Maui.Controls (90)
Editor\Editor.cs (19)
15 public new static readonly BindableProperty TextProperty = InputView.TextProperty; 17 /// <inheritdoc cref="InputView.FontFamilyProperty"/> 18 public new static readonly BindableProperty FontFamilyProperty = InputView.FontFamilyProperty; 20 /// <inheritdoc cref="InputView.FontSizeProperty"/> 21 public new static readonly BindableProperty FontSizeProperty = InputView.FontSizeProperty; 23 /// <inheritdoc cref="InputView.FontAttributesProperty"/> 24 public new static readonly BindableProperty FontAttributesProperty = InputView.FontAttributesProperty; 26 /// <inheritdoc cref="InputView.FontAutoScalingEnabledProperty"/> 27 public new static readonly BindableProperty FontAutoScalingEnabledProperty = InputView.FontAutoScalingEnabledProperty; 30 public new static readonly BindableProperty TextColorProperty = InputView.TextColorProperty; 33 public new static readonly BindableProperty CharacterSpacingProperty = InputView.CharacterSpacingProperty; 36 public new static readonly BindableProperty PlaceholderProperty = InputView.PlaceholderProperty; 39 public new static readonly BindableProperty PlaceholderColorProperty = InputView.PlaceholderColorProperty; 41 /// <inheritdoc cref="InputView.IsTextPredictionEnabledProperty"/> 42 public new static readonly BindableProperty IsTextPredictionEnabledProperty = InputView.IsTextPredictionEnabledProperty; 44 /// <inheritdoc cref="InputView.CursorPositionProperty"/> 45 public new static readonly BindableProperty CursorPositionProperty = InputView.CursorPositionProperty; 47 /// <inheritdoc cref="InputView.SelectionLengthProperty"/> 48 public new static readonly BindableProperty SelectionLengthProperty = InputView.SelectionLengthProperty;
Editor\Editor.Mapper.cs (1)
19 EditorHandler.Mapper.AppendToMapping(nameof(VisualElement.IsFocused), InputView.MapIsFocused);
Entry\Entry.cs (26)
29 /// <inheritdoc cref="InputView.PlaceholderProperty"/> 30 public new static readonly BindableProperty PlaceholderProperty = InputView.PlaceholderProperty; 32 /// <inheritdoc cref="InputView.PlaceholderColorProperty"/> 33 public new static readonly BindableProperty PlaceholderColorProperty = InputView.PlaceholderColorProperty; 40 /// <inheritdoc cref="InputView.TextProperty"/> 41 public new static readonly BindableProperty TextProperty = InputView.TextProperty; 43 /// <inheritdoc cref="InputView.TextColorProperty"/> 44 public new static readonly BindableProperty TextColorProperty = InputView.TextColorProperty; 46 /// <inheritdoc cref="InputView.KeyboardProperty"/> 47 public new static readonly BindableProperty KeyboardProperty = InputView.KeyboardProperty; 49 /// <inheritdoc cref="InputView.CharacterSpacingProperty"/> 50 public new static readonly BindableProperty CharacterSpacingProperty = InputView.CharacterSpacingProperty; 62 /// <inheritdoc cref="InputView.FontFamilyProperty"/> 63 public static new readonly BindableProperty FontFamilyProperty = InputView.FontFamilyProperty; 65 /// <inheritdoc cref="InputView.FontSizeProperty"/> 66 public static new readonly BindableProperty FontSizeProperty = InputView.FontSizeProperty; 68 /// <inheritdoc cref="InputView.FontAttributesProperty"/> 69 public static new readonly BindableProperty FontAttributesProperty = InputView.FontAttributesProperty; 71 /// <inheritdoc cref="InputView.FontAutoScalingEnabledProperty"/> 72 public static new readonly BindableProperty FontAutoScalingEnabledProperty = InputView.FontAutoScalingEnabledProperty; 74 /// <inheritdoc cref="InputView.IsTextPredictionEnabledProperty"/> 75 public static new readonly BindableProperty IsTextPredictionEnabledProperty = InputView.IsTextPredictionEnabledProperty; 77 /// <inheritdoc cref="InputView.CursorPositionProperty"/> 78 public new static readonly BindableProperty CursorPositionProperty = InputView.CursorPositionProperty; 80 /// <inheritdoc cref="InputView.SelectionLengthProperty"/> 81 public new static readonly BindableProperty SelectionLengthProperty = InputView.SelectionLengthProperty;
Entry\Entry.Mapper.cs (1)
24 EntryHandler.Mapper.AppendToMapping(nameof(VisualElement.IsFocused), InputView.MapIsFocused);
InputView\InputView.cs (10)
12 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(InputView), defaultBindingMode: BindingMode.TwoWay, 13 propertyChanged: (bindable, oldValue, newValue) => ((InputView)bindable).OnTextChanged((string)oldValue, (string)newValue)); 16 public static readonly BindableProperty KeyboardProperty = BindableProperty.Create(nameof(Keyboard), typeof(Keyboard), typeof(InputView), Keyboard.Default, 20 public static readonly BindableProperty IsSpellCheckEnabledProperty = BindableProperty.Create(nameof(IsSpellCheckEnabled), typeof(bool), typeof(InputView), true); 23 public static readonly BindableProperty IsTextPredictionEnabledProperty = BindableProperty.Create(nameof(IsTextPredictionEnabled), typeof(bool), typeof(InputView), true); 26 public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(InputView), int.MaxValue); 29 public static readonly BindableProperty IsReadOnlyProperty = BindableProperty.Create(nameof(IsReadOnly), typeof(bool), typeof(InputView), false); 47 public static readonly BindableProperty CursorPositionProperty = BindableProperty.Create(nameof(CursorPosition), typeof(int), typeof(InputView), 0, validateValue: (b, v) => (int)v >= 0); 50 public static readonly BindableProperty SelectionLengthProperty = BindableProperty.Create(nameof(SelectionLength), typeof(int), typeof(InputView), 0, validateValue: (b, v) => (int)v >= 0); 175 /// Gets or sets the position of the cursor. The value must be more than or equal to 0 and less or equal to the length of <see cref="InputView.Text"/>.
InputView\InputView.Platform.cs (1)
10 if (view is InputView iv)
Internals\TextTransformUtilites.cs (2)
46 public static void SetPlainText(InputView inputView, string platformText) 61 inputView.SetValueFromRenderer(InputView.TextProperty, platformText);
Platform\iOS\Extensions\TextExtensions.cs (3)
31 public static void UpdateText(this UITextView textView, InputView inputView) => 34 public static void UpdateText(this UITextField textField, InputView inputView) => 37 static void UpdateText(this IUITextInput textInput, InputView inputView, bool isEditing)
PlatformConfiguration\WindowsSpecific\InputView.cs (5)
6 using FormsElement = Maui.Controls.InputView; 12 public static readonly BindableProperty DetectReadingOrderFromContentProperty = BindableProperty.Create("DetectReadingOrderFromContent", typeof(bool), typeof(FormsElement), false); 21 public static bool GetDetectReadingOrderFromContent(this IPlatformElementConfiguration<Windows, FormsElement> config) 33 public static IPlatformElementConfiguration<Windows, FormsElement> SetDetectReadingOrderFromContent( 34 this IPlatformElementConfiguration<Windows, FormsElement> config, bool value)
Properties\AssemblyInfo.cs (2)
147[assembly: StyleProperty("-maui-max-length", typeof(InputView), nameof(InputView.MaxLengthProperty))]
SearchBar\SearchBar.cs (19)
24 public new static readonly BindableProperty TextProperty = InputView.TextProperty; 30 public new static readonly BindableProperty PlaceholderProperty = InputView.PlaceholderProperty; 33 public new static readonly BindableProperty PlaceholderColorProperty = InputView.PlaceholderColorProperty; 35 /// <inheritdoc cref="InputView.FontFamilyProperty"/> 36 public new static readonly BindableProperty FontFamilyProperty = InputView.FontFamilyProperty; 38 /// <inheritdoc cref="InputView.FontSizeProperty"/> 39 public new static readonly BindableProperty FontSizeProperty = InputView.FontSizeProperty; 41 /// <inheritdoc cref="InputView.FontAttributesProperty"/> 42 public new static readonly BindableProperty FontAttributesProperty = InputView.FontAttributesProperty; 44 /// <inheritdoc cref="InputView.FontAutoScalingEnabledProperty"/> 45 public new static readonly BindableProperty FontAutoScalingEnabledProperty = InputView.FontAutoScalingEnabledProperty; 48 /// Backing store for the <see cref="InputView.IsTextPredictionEnabled"/> property. 50 public static new readonly BindableProperty IsTextPredictionEnabledProperty = InputView.IsTextPredictionEnabledProperty; 52 /// <inheritdoc cref="InputView.CursorPositionProperty"/> 53 public new static readonly BindableProperty CursorPositionProperty = InputView.CursorPositionProperty; 55 /// <inheritdoc cref="InputView.SelectionLengthProperty"/> 56 public new static readonly BindableProperty SelectionLengthProperty = InputView.SelectionLengthProperty; 65 public new static readonly BindableProperty TextColorProperty = InputView.TextColorProperty; 68 public new static readonly BindableProperty CharacterSpacingProperty = InputView.CharacterSpacingProperty;
SearchBar\SearchBar.Mapper.cs (1)
19 SearchBarHandler.Mapper.AppendToMapping(nameof(VisualElement.IsFocused), InputView.MapIsFocused);