C# 클래스 WinRTXamlToolkit.Controls.ScrollExtensions

The ScrollExtensions class provides utility methods for scrolling items ScrollViewers.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
GetTopAndBottom ( this element, FrameworkElement parent, double &top, double &bottom ) : void

Get the top and bottom of an element with respect to its parent.

LineDown ( this viewer ) : void

Scroll the ScrollViewer down by a line.

LineLeft ( this viewer ) : void

Scroll the ScrollViewer left by a line.

LineRight ( this viewer ) : void

Scroll the ScrollViewer right by a line.

LineUp ( this viewer ) : void

Scroll the ScrollViewer up by a line.

PageDown ( this viewer ) : void

Scroll the ScrollViewer down by a page.

PageLeft ( this viewer ) : void

Scroll the ScrollViewer left by a page.

PageRight ( this viewer ) : void

Scroll the ScrollViewer right by a page.

PageUp ( this viewer ) : void

Scroll the ScrollViewer up by a page.

ScrollToBottom ( this viewer ) : void

Scroll the ScrollViewer to the bottom.

ScrollToTop ( this viewer ) : void

Scroll the ScrollViewer to the top.

비공개 메소드들

메소드 설명
ScrollByHorizontalOffset ( ScrollViewer viewer, double offset ) : void

Scroll a ScrollViewer horizontally by a given offset.

ScrollByVerticalOffset ( ScrollViewer viewer, double offset ) : void

Scroll a ScrollViewer vertically by a given offset.

메소드 상세

GetTopAndBottom() 공개 정적인 메소드

Get the top and bottom of an element with respect to its parent.
public static GetTopAndBottom ( this element, FrameworkElement parent, double &top, double &bottom ) : void
element this The element to get the position of.
parent Windows.UI.Xaml.FrameworkElement The parent of the element.
top double Vertical offset to the top of the element.
bottom double /// Vertical offset to the bottom of the element. ///
리턴 void

LineDown() 공개 정적인 메소드

Scroll the ScrollViewer down by a line.
public static LineDown ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

LineLeft() 공개 정적인 메소드

Scroll the ScrollViewer left by a line.
public static LineLeft ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

LineRight() 공개 정적인 메소드

Scroll the ScrollViewer right by a line.
public static LineRight ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

LineUp() 공개 정적인 메소드

Scroll the ScrollViewer up by a line.
public static LineUp ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

PageDown() 공개 정적인 메소드

Scroll the ScrollViewer down by a page.
public static PageDown ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

PageLeft() 공개 정적인 메소드

Scroll the ScrollViewer left by a page.
public static PageLeft ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

PageRight() 공개 정적인 메소드

Scroll the ScrollViewer right by a page.
public static PageRight ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

PageUp() 공개 정적인 메소드

Scroll the ScrollViewer up by a page.
public static PageUp ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

ScrollToBottom() 공개 정적인 메소드

Scroll the ScrollViewer to the bottom.
public static ScrollToBottom ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void

ScrollToTop() 공개 정적인 메소드

Scroll the ScrollViewer to the top.
public static ScrollToTop ( this viewer ) : void
viewer this The ScrollViewer.
리턴 void