Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Button.cs
// ReSharper disable once RedundantAssignment
/// <summary>
/// Override this message to handle touch events internally.
/// </summary>
/// <param name="sender">Object sending the event</param>
/// <param name="point">Point on screen touch event is occurring</param>
/// <param name="handled">true if the event is handled. Set to true if handled.</param>
/// <remarks>
/// Switches the button into <see cref="PressState.Pressed"/> state
/// </remarks>
Override this message to handle touch events internally.
Override this message to handle touch events internally .
protected override void TouchDownMessage(object sender, point point, ref bool handled)
      {
         _state = PressState.Pressed;
         Invalidate();
         base.TouchDownMessage(sender, point, ref handled);
      }
protected override void TouchDownMessage ( object sender , point point , ref bool handled ) { _state = PressState . Pressed ; Invalidate ( ) ; base . TouchDownMessage ( sender , point , ref handled ) ; }
Override this message to handle touch events internally.
Override this message to handle touch events internally .
// do NOT set handled to true !
sender
object
Object sending the event
Object sending the event
point
point
Point on screen touch event is occurring
Point on screen touch event is occurring
bool
ref
handled
true if the event is handled. Set to true if handled.
true if the event is handled . Set to true if handled .
remarks
Switches the button into  state
Switches the button into state