OnKeyUp() protected méthode

Raises the Control.KeyUp event.
protected OnKeyUp ( Eto.Forms.KeyEventArgs e ) : void
e Eto.Forms.KeyEventArgs Key event arguments
Résultat void
Exemple #1
0
		public static bool KeyUp(Control control, NSEvent theEvent)
		{
			if (control != null)
			{
				var kpea = theEvent.ToEtoKeyPressEventArgs();
				control.OnKeyUp(kpea);
				return kpea.Handled;
			}
			return false;
		}
Exemple #2
0
			/// <summary>
			/// Raises the key up event.
			/// </summary>
			public void OnKeyUp(Control widget, KeyEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnKeyUp(e));
			}