ScrollView.FullScroll(FocusSearchDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles scrolling in response to a "home/end" shortcut press.
[Android.Runtime.Register("fullScroll", "(I)Z", "GetFullScroll_IHandler")]
public virtual bool FullScroll (Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("fullScroll", "(I)Z", "GetFullScroll_IHandler")>]
abstract member FullScroll : Android.Views.FocusSearchDirection -> bool
override this.FullScroll : Android.Views.FocusSearchDirection -> bool
Parameters
- direction
- FocusSearchDirection
the scroll direction: android.view.View#FOCUS_UP
to go the top of the view or
android.view.View#FOCUS_DOWN
to go the bottom
Returns
true if the key event is consumed by this method, false otherwise
- Attributes
Remarks
Handles scrolling in response to a "home/end" shortcut press. This method will scroll the view to the top or bottom and give the focus to the topmost/bottommost component in the new visible area. If no component is a good candidate for focus, this scrollview reclaims the focus.
Java documentation for android.widget.ScrollView.fullScroll(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.