C# Class FirstFloor.ModernUI.Windows.Controls.VirtualizingTilePanel

Inheritance: System.Windows.Controls.VirtualizingPanel, IScrollInfo
ファイルを表示 Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
HorizontalContentAlignmentProperty System.Windows.DependencyProperty
ItemHeightProperty System.Windows.DependencyProperty
ItemWidthProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
VerticalContentAlignmentProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetVisibleItemsRange ( ) : ItemLayoutInfo
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

Protected Methods

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

Private Methods

Method Description
CalculateNewScrollOffset ( double topView, double bottomView, double topChild, double bottomChild ) : double
Clamp ( double value, double min, double max ) : double
CreateDefaultStyles ( ) : System.Windows.Style
DetectItemSize ( Size limitation ) : Size
EnsureScrollOffsetIsWithinConstrains ( ExtentInfo extentInfo ) : void
GetExtentInfo ( Size viewPortSize ) : ExtentInfo
GetLayoutInfo ( Size availableSize, double itemWidth, double itemHeight, ExtentInfo extentInfo ) : ItemLayoutInfo
GetVirtualItemIndex ( DependencyObject obj ) : int
HandleItemDimensionChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Initialize ( ) : void
InvalidateScrollInfo ( ) : void
RecycleItems ( ItemLayoutInfo layoutInfo ) : void
RemoveRedundantChildren ( ) : 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

GetVisibleItemsRange() public method

public GetVisibleItemsRange ( ) : ItemLayoutInfo
return ItemLayoutInfo

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

MakeVisible() public method

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

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.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

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

VirtualizingTilePanel() public method

public VirtualizingTilePanel ( ) : System
return System

Property Details

HorizontalContentAlignmentProperty public_oe static_oe property

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

ItemHeightProperty public_oe static_oe property

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

ItemWidthProperty public_oe static_oe property

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

OrientationProperty public_oe static_oe property

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

VerticalContentAlignmentProperty public_oe static_oe property

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