C# Class nature_net.user_controls.ItemsControlExtensions

显示文件 Open project: naturenet/nature-net-ppi

Public Methods

Method Description
ScrollToCenterOfView ( this itemsControl, object item ) : void

Private Methods

Method Description
CenteringOffset ( double center, double viewport, double extent ) : double
FirstVisualChild ( Visual visual ) : DependencyObject
TryScrollToCenterOfView ( this itemsControl, object item ) : bool

Method Details

ScrollToCenterOfView() public static method

public static ScrollToCenterOfView ( this itemsControl, object item ) : void
itemsControl this
item object
return void