void OnButtonTouchUpInside(object sender, EventArgs eventArgs) { ButtonElementManager.OnButtonTouchUpInside(this.Element); if (!Element.IsChecked) { Element.IsChecked = !Element.IsChecked; } _radioButtonLayer.SetNeedsDisplay(); }
protected override void Dispose(bool disposing) { if (_isDisposed) { return; } if (disposing && Control != null) { ButtonElementManager.Dispose(this); BorderElementManager.Dispose(this); ImageElementManager.Dispose(this); } _isDisposed = true; base.Dispose(disposing); }
public ImageButtonRenderer() : base() { ButtonElementManager.Init(this); BorderElementManager.Init(this); ImageElementManager.Init(this); }
void OnButtonTouchDown(object sender, EventArgs eventArgs) { ButtonElementManager.OnButtonTouchDown(this.Element); }
void OnButtonTouchUpInside(object sender, EventArgs eventArgs) { ButtonElementManager.OnButtonTouchUpInside(this.Element); }