C# Class TailBlazer.Infrastucture.Virtualisation.LinesScrollPanel

This is adapted (butchered!) from VirtualWrapPanel in https://github.com/samueldjack/VirtualCollection See http://blog.hibernatingrhinos.com/12515/implementing-a-virtualizingwrappanel
Inheritance: System.Windows.Controls.VirtualizingPanel, IScrollInfo
ファイルを表示 Open project: RolandPheasant/TailBlazer

Public Properties

Property Type Description
CharacterWidthProperty System.Windows.DependencyProperty
HorizontalScrollChangedProperty System.Windows.DependencyProperty
ItemHeightProperty DependencyProperty
ScrollReceiverProperty DependencyProperty
StartIndexProperty DependencyProperty
TotalCharactersProperty DependencyProperty
TotalItemsProperty DependencyProperty

Public Methods

Method Description
LineDown ( ) : void
LineLeft ( ) : void
LineRight ( ) : void
LineUp ( ) : void
LinesScrollPanel ( ) : System
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

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
OnItemsChanged ( object sender, ItemsChangedEventArgs args ) : void
OnRenderSizeChanged ( SizeChangedInfo sizeInfo ) : void

Private Methods

Method Description
CalculateHorizonalScrollInfo ( ) : void
CallbackStartIndexChanged ( int index ) : void
Clamp ( double value, double min, double max ) : double
EnsureScrollOffsetIsWithinConstrains ( ExtentInfo extentInfo ) : void
GetExtentInfo ( Size viewPortSize ) : ExtentInfo
GetLayoutInfo ( Size availableSize, double itemHeight, ExtentInfo extentInfo ) : ItemLayoutInfo
GetVirtualItemIndex ( DependencyObject obj ) : int
Initialize ( ) : void
InvalidateScrollInfo ( ) : void
InvokeSizeCommand ( int size ) : void
InvokeStartIndexCommand ( int lines ) : void
NotifyHorizonalScroll ( ExtentInfo extentInfo ) : void
OnCharactersChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnOffsetChanged ( ScrollDirection direction, int firstRow ) : void
OnRequireMeasure ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnStartIndexChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
RecycleItems ( ItemLayoutInfo layoutInfo ) : void
RemoveRedundantChildren ( ) : void
ReportChanges ( ) : void
SetVirtualItemIndex ( DependencyObject obj, int value ) : void
UpdateScrollInfo ( Size availableSize, ExtentInfo extentInfo ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

LineDown() public method

public LineDown ( ) : void
return void

LineLeft() public method

public LineLeft ( ) : void
return void

LineRight() public method

public LineRight ( ) : void
return void

LineUp() public method

public LineUp ( ) : void
return void

LinesScrollPanel() public method

public LinesScrollPanel ( ) : System
return System

MakeVisible() public method

public MakeVisible ( Visual visual, Rect rectangle ) : Rect
visual Visual
rectangle Rect
return Rect

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
return Size

MouseWheelDown() public method

public MouseWheelDown ( ) : void
return void

MouseWheelLeft() public method

public MouseWheelLeft ( ) : void
return void

MouseWheelRight() public method

public MouseWheelRight ( ) : void
return void

MouseWheelUp() public method

public MouseWheelUp ( ) : void
return void

OnItemsChanged() protected method

protected OnItemsChanged ( object sender, ItemsChangedEventArgs args ) : void
sender object
args ItemsChangedEventArgs
return void

OnRenderSizeChanged() protected method

protected OnRenderSizeChanged ( SizeChangedInfo sizeInfo ) : void
sizeInfo SizeChangedInfo
return void

PageDown() public method

public PageDown ( ) : void
return void

PageLeft() public method

public PageLeft ( ) : void
return void

PageRight() public method

public PageRight ( ) : void
return void

PageUp() public method

public PageUp ( ) : void
return void

SetHorizontalOffset() public method

public SetHorizontalOffset ( double offset ) : void
offset double
return void

SetVerticalOffset() public method

public SetVerticalOffset ( double offset ) : void
offset double
return void

Property Details

CharacterWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows CharacterWidthProperty
return System.Windows.DependencyProperty

HorizontalScrollChangedProperty public_oe static_oe property

public static DependencyProperty,System.Windows HorizontalScrollChangedProperty
return System.Windows.DependencyProperty

ItemHeightProperty public_oe static_oe property

public static DependencyProperty ItemHeightProperty
return DependencyProperty

ScrollReceiverProperty public_oe static_oe property

public static DependencyProperty ScrollReceiverProperty
return DependencyProperty

StartIndexProperty public_oe static_oe property

public static DependencyProperty StartIndexProperty
return DependencyProperty

TotalCharactersProperty public_oe static_oe property

public static DependencyProperty TotalCharactersProperty
return DependencyProperty

TotalItemsProperty public_oe static_oe property

public static DependencyProperty TotalItemsProperty
return DependencyProperty