Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1Icon Class / OnWindowFocusChanged Method


In This Topic
    OnWindowFocusChanged Method (C1Icon)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("onWindowFocusChanged", 
       "(Z)V", 
       "GetOnWindowFocusChanged_ZHandler")>
    Public Overridable Sub OnWindowFocusChanged( _
       ByVal hasWindowFocus As Boolean _
    ) 
    'Usage
     
    
    Dim instance As C1Icon
    Dim hasWindowFocus As Boolean
     
    instance.OnWindowFocusChanged(hasWindowFocus)
    [Android.Runtime.Register("onWindowFocusChanged", 
       "(Z)V", 
       "GetOnWindowFocusChanged_ZHandler")]
    public virtual void OnWindowFocusChanged( 
       bool hasWindowFocus
    )

    Parameters

    hasWindowFocus
    See Also