public override void ScrollWheel(UIScrollWheelEvent evt) { base.ScrollWheel(evt); if (_scrollbar == null) return; _scrollbar.ViewPosition -= (float)evt.ScrollWheelValue; }
public override void ScrollWheel(UIScrollWheelEvent evt) { base.ScrollWheel(evt); if (this._scrollbar != null) { this._scrollbar.ViewPosition -= (float)evt.ScrollWheelValue; } }
public virtual void ScrollWheel(UIScrollWheelEvent evt) { if (this.OnScrollWheel != null) { this.OnScrollWheel(evt, this); } if (Parent != null) { Parent.ScrollWheel(evt); } }
public virtual void ScrollWheel(UIScrollWheelEvent evt) { if (this.OnScrollWheel != null) { this.OnScrollWheel(evt, this); } if (this.Parent == null) { return; } this.Parent.ScrollWheel(evt); }
public virtual void ScrollWheel(UIScrollWheelEvent evt) { // ISSUE: reference to a compiler-generated field if (this.OnScrollWheel != null) { // ISSUE: reference to a compiler-generated field this.OnScrollWheel(evt, this); } if (this.Parent == null) { return; } this.Parent.ScrollWheel(evt); }
public virtual void ScrollWheel(UIScrollWheelEvent evt) { if (this.OnScrollWheel != null) this.OnScrollWheel(evt, this); if (this.Parent == null) return; this.Parent.ScrollWheel(evt); }
public virtual void ScrollWheel(UIScrollWheelEvent evt) { if (this.OnScrollWheel != null) { this.OnScrollWheel(evt, this); } if (this.Parent != null) { this.Parent.ScrollWheel(evt); } }