46 references to EntryCell
Microsoft.Maui.Controls (26)
Cells\EntryCell.cs (5)
12 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(EntryCell), null, BindingMode.TwoWay); 15 public static readonly BindableProperty LabelProperty = BindableProperty.Create(nameof(Label), typeof(string), typeof(EntryCell), null); 18 public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(Placeholder), typeof(string), typeof(EntryCell), null); 21 public static readonly BindableProperty LabelColorProperty = BindableProperty.Create(nameof(LabelColor), typeof(Color), typeof(EntryCell), null); 24 public static readonly BindableProperty KeyboardProperty = BindableProperty.Create(nameof(Keyboard), typeof(Keyboard), typeof(EntryCell), Keyboard.Default);
Compatibility\Handlers\ListView\iOS\EntryCellRenderer.cs (20)
27 var entryCell = (EntryCell)item; 64 var entryCell = (EntryCell)sender; 67 if (e.PropertyName == EntryCell.LabelProperty.PropertyName) 69 else if (e.PropertyName == EntryCell.TextProperty.PropertyName) 71 else if (e.PropertyName == EntryCell.PlaceholderProperty.PropertyName) 73 else if (e.PropertyName == EntryCell.KeyboardProperty.PropertyName) 75 else if (e.PropertyName == EntryCell.LabelColorProperty.PropertyName) 77 else if (e.PropertyName == EntryCell.HorizontalTextAlignmentProperty.PropertyName) 96 var model = (EntryCell)cell.Cell; 99 .SetValue(EntryCell.TextProperty, cell.TextField.Text, specificity: SetterSpecificity.FromHandler); 102 static void UpdateHorizontalTextAlignment(EntryCellTableViewCell cell, EntryCell entryCell) 109 static void UpdateIsEnabled(EntryCellTableViewCell cell, EntryCell entryCell) 117 static void UpdateKeyboard(EntryCellTableViewCell cell, EntryCell entryCell) 124 static void UpdateLabel(EntryCellTableViewCell cell, EntryCell entryCell) 131 static void UpdateLabelColor(EntryCellTableViewCell cell, EntryCell entryCell) 136 static void UpdatePlaceholder(EntryCellTableViewCell cell, EntryCell entryCell) 141 static void UpdateText(EntryCellTableViewCell cell, EntryCell entryCell)
Hosting\AppHostBuilderExtensions.cs (1)
124 handlersCollection.AddHandler(typeof(EntryCell), typeof(Handlers.Compatibility.EntryCellRenderer));
Microsoft.Maui.Controls.Compatibility (20)
iOS\Cells\EntryCellRenderer.cs (20)
24 var entryCell = (EntryCell)item; 59 var entryCell = (EntryCell)sender; 62 if (e.PropertyName == EntryCell.LabelProperty.PropertyName) 64 else if (e.PropertyName == EntryCell.TextProperty.PropertyName) 66 else if (e.PropertyName == EntryCell.PlaceholderProperty.PropertyName) 68 else if (e.PropertyName == EntryCell.KeyboardProperty.PropertyName) 70 else if (e.PropertyName == EntryCell.LabelColorProperty.PropertyName) 72 else if (e.PropertyName == EntryCell.HorizontalTextAlignmentProperty.PropertyName) 91 var model = (EntryCell)cell.Cell; 94 .SetValue(EntryCell.TextProperty, cell.TextField.Text, specificity: SetterSpecificity.FromHandler); 97 static void UpdateHorizontalTextAlignment(EntryCellTableViewCell cell, EntryCell entryCell) 104 static void UpdateIsEnabled(EntryCellTableViewCell cell, EntryCell entryCell) 112 static void UpdateKeyboard(EntryCellTableViewCell cell, EntryCell entryCell) 117 static void UpdateLabel(EntryCellTableViewCell cell, EntryCell entryCell) 122 static void UpdateLabelColor(EntryCellTableViewCell cell, EntryCell entryCell) 127 static void UpdatePlaceholder(EntryCellTableViewCell cell, EntryCell entryCell) 132 static void UpdateText(EntryCellTableViewCell cell, EntryCell entryCell)