ComponentOne Xamarin.Android
RequestFocus(FocusSearchDirection,Rect) Method


C1.Android.Grid Assembly > C1.Android.Grid Namespace > GridCellView Class > RequestFocus Method : RequestFocus(FocusSearchDirection,Rect) Method
Syntax
'Declaration
 
<Android.Runtime.RegisterAttribute("requestFocus", 
   "(ILandroid/graphics/Rect;)Z", 
   "GetRequestFocus_ILandroid_graphics_Rect_Handler")>
Public Overloads Overridable Function RequestFocus( _
   ByVal direction As Android.Views.FocusSearchDirection, _
   ByVal previouslyFocusedRect As Android.Graphics.Rect _
) As Boolean
'Usage
 
Dim instance As GridCellView
Dim direction As Android.Views.FocusSearchDirection
Dim previouslyFocusedRect As Android.Graphics.Rect
Dim value As Boolean
 
value = instance.RequestFocus(direction, previouslyFocusedRect)
[Android.Runtime.Register("requestFocus", 
   "(ILandroid/graphics/Rect;)Z", 
   "GetRequestFocus_ILandroid_graphics_Rect_Handler")]
public virtual bool RequestFocus( 
   Android.Views.FocusSearchDirection direction,
   Android.Graphics.Rect previouslyFocusedRect
)

Parameters

direction
previouslyFocusedRect
See Also

Reference

GridCellView Class
GridCellView Members
Overload List