SelectAll() public method

Selects all text.
When setting the selection, the control will be focussed and the associated keyboard may appear on mobile platforms.
public SelectAll ( ) : void
return void
Ejemplo n.º 1
0
		Control SelectAll(TextArea text)
		{
			var control = new Button { Text = "Select All" };
			control.Click += (sender, e) => {
				text.SelectAll();
				text.Focus();
			};
			return control;
		}