Ejemplo n.º 1
0
 protected virtual void OnScrollParametersChanged(RadScrollBarElement scrollBar)
 {
     if (scrollBar != null && ScrollParametersChanged != null)
     {
         ScrollParametersChanged(this, new RadPanelScrollParametersEventArgs(
                                     scrollBar.ScrollType == ScrollType.Horizontal, scrollBar.GetParameters()));
     }
 }
Ejemplo n.º 2
0
 protected virtual void OnScrollParametersChanged(RadScrollBarElement scrollBar)
 {
     if (scrollBar == null || this.ScrollParametersChanged == null)
     {
         return;
     }
     this.ScrollParametersChanged((object)this, new RadPanelScrollParametersEventArgs(scrollBar.ScrollType == ScrollType.Horizontal, scrollBar.GetParameters()));
 }