ComponentOne Xamarin.Android
RequestFocus(FocusSearchDirection,Rect) Method


C1.Android.Core Assembly > C1.Android.Core Namespace > C1BitmapIcon 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 C1BitmapIcon
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

C1BitmapIcon Class
C1BitmapIcon Members
Overload List