OnKeyUp() protected method

Raises the Control.KeyUp event.
protected OnKeyUp ( Eto.Forms.KeyEventArgs e ) : void
e Eto.Forms.KeyEventArgs Key event arguments
return void
Exemplo n.º 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;
		}
Exemplo n.º 2
0
			/// <summary>
			/// Raises the key up event.
			/// </summary>
			public void OnKeyUp(Control widget, KeyEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnKeyUp(e));
			}