Scroll the list so that the specified item is located in the center of the viewport.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
Syntax
C# |
---|
public void CenterChild( Object item, bool animate ) |
Visual Basic |
---|
Public Sub CenterChild ( _ item As Object, _ animate As Boolean _ ) |
Parameters
- item
- Type: System..::..Object
The item to be centered.
- animate
- Type: System..::..Boolean
If set to true animates the scrolling.