C# 클래스 SoundBoard.Wpf.Utility.VirtualizingTilePanel

상속: System.Windows.Controls.VirtualizingPanel, IScrollInfo
파일 보기 프로젝트 열기: jormenjanssen/Soundboard

공개 프로퍼티들

프로퍼티 타입 설명
ChildSizeProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
LineDown ( ) : void
LineLeft ( ) : void
LineRight ( ) : void
LineUp ( ) : void
MakeVisible ( Visual visual, Rect rectangle ) : Rect
MouseWheelDown ( ) : void
MouseWheelLeft ( ) : void
MouseWheelRight ( ) : void
MouseWheelUp ( ) : void
PageDown ( ) : void
PageLeft ( ) : void
PageRight ( ) : void
PageUp ( ) : void
SetHorizontalOffset ( double offset ) : void
SetVerticalOffset ( double offset ) : void
VirtualizingTilePanel ( ) : System

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Arrange the children

MeasureOverride ( Size availableSize ) : Size

Measure the children

OnItemsChanged ( object sender, ItemsChangedEventArgs args ) : void

When items are removed, remove the corresponding UI if necessary

비공개 메소드들

메소드 설명
ArrangeChild ( int itemIndex, UIElement child, Size finalSize ) : void

Position a child

CalculateChildrenPerRow ( Size availableSize ) : int

Helper function for tiling layout

CalculateExtent ( Size availableSize, int itemCount ) : Size

Calculate the extent of the view based on the available size

CleanUpItems ( int minDesiredGenerated, int maxDesiredGenerated ) : void

Revirtualize items that are no longer visible

GetChildSize ( ) : Size

Get the size of the children. We assume they are all the same

GetVisibleRange ( int &firstVisibleItemIndex, int &lastVisibleItemIndex ) : void

Get the range of children that are visible

UpdateScrollInfo ( Size availableSize ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

Arrange the children
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size Size available
리턴 System.Windows.Size

LineDown() 공개 메소드

public LineDown ( ) : void
리턴 void

LineLeft() 공개 메소드

public LineLeft ( ) : void
리턴 void

LineRight() 공개 메소드

public LineRight ( ) : void
리턴 void

LineUp() 공개 메소드

public LineUp ( ) : void
리턴 void

MakeVisible() 공개 메소드

public MakeVisible ( Visual visual, Rect rectangle ) : Rect
visual Visual
rectangle System.Windows.Rect
리턴 System.Windows.Rect

MeasureOverride() 보호된 메소드

Measure the children
protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size Size available
리턴 System.Windows.Size

MouseWheelDown() 공개 메소드

public MouseWheelDown ( ) : void
리턴 void

MouseWheelLeft() 공개 메소드

public MouseWheelLeft ( ) : void
리턴 void

MouseWheelRight() 공개 메소드

public MouseWheelRight ( ) : void
리턴 void

MouseWheelUp() 공개 메소드

public MouseWheelUp ( ) : void
리턴 void

OnItemsChanged() 보호된 메소드

When items are removed, remove the corresponding UI if necessary
protected OnItemsChanged ( object sender, ItemsChangedEventArgs args ) : void
sender object
args ItemsChangedEventArgs
리턴 void

PageDown() 공개 메소드

public PageDown ( ) : void
리턴 void

PageLeft() 공개 메소드

public PageLeft ( ) : void
리턴 void

PageRight() 공개 메소드

public PageRight ( ) : void
리턴 void

PageUp() 공개 메소드

public PageUp ( ) : void
리턴 void

SetHorizontalOffset() 공개 메소드

public SetHorizontalOffset ( double offset ) : void
offset double
리턴 void

SetVerticalOffset() 공개 메소드

public SetVerticalOffset ( double offset ) : void
offset double
리턴 void

VirtualizingTilePanel() 공개 메소드

public VirtualizingTilePanel ( ) : System
리턴 System

프로퍼티 상세

ChildSizeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ChildSizeProperty
리턴 System.Windows.DependencyProperty