Example #1
0
 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;
			}
		}
Example #3
0
 public virtual void ScrollWheel(UIScrollWheelEvent evt)
 {
     if (this.OnScrollWheel != null)
     {
         this.OnScrollWheel(evt, this);
     }
     if (Parent != null)
     {
         Parent.ScrollWheel(evt);
     }
 }
Example #4
0
 public virtual void ScrollWheel(UIScrollWheelEvent evt)
 {
     if (this.OnScrollWheel != null)
     {
         this.OnScrollWheel(evt, this);
     }
     if (this.Parent == null)
     {
         return;
     }
     this.Parent.ScrollWheel(evt);
 }
Example #5
0
 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);
 }
Example #6
0
 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);
			}
		}