An element that can be used to enter text.
This element can be used to enter text both regular and password protected entries. The Text fields in a given section are aligned with each other.
Inheritance: EntryElement, IElementSizing
コード例 #1
0
		public void Update(MultilineEntryElement element, UITableView tableView){
			_element = element;
			
			if (_entry==null){
				PrepareEntry(tableView);
			}
			
			_entry.Text = element.Value ?? "";
			_entry.SecureTextEntry = element.IsPassword;
			_entry.AutocapitalizationType = element.AutoCapitalize;
			_entry.KeyboardType = element.KeyboardType;
			TextLabel.Text = element.Caption;
			
			tableView.BeginUpdates();
			tableView.EndUpdates();
			
		}
コード例 #2
0
		public override void PrepareForReuse ()
		{
			base.PrepareForReuse ();
			_element = null;
		}