示例#1
0
文件: Scroller.cs 项目: rexzh/SharpJs
 /// <summary>
 /// Ensures that the given control is visible in the scroller's viewport. Unlike scrollIntoView, which uses DOM's scrollIntoView, this only affects the current scroller.
 /// </summary>
 /// <param name="ctrl"></param>
 /// <param name="alignWithTop"></param>
 public void ScrollToControl(Control ctrl, bool alignWithTop) { }
示例#2
0
文件: Scroller.cs 项目: rexzh/SharpJs
 /// <summary>
 /// Scrolls the given control (ctrl) into view. If alignWithTop is true, ctrl is aligned with the top of the scroller.
 /// </summary>
 /// <param name="ctrlm"></param>
 /// <param name="alignWithTop"></param>
 public void ScrollIntoView(Control ctrl, bool alignWithTop) { }