Xamarin.Android | ComponentOne
C1.Android.Calendar Assembly / C1.Android.Calendar Namespace / CalendarYearsPanel Class / SetGravity Method


In This Topic
    SetGravity Method (CalendarYearsPanel)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setGravity", 
       "(I)V", 
       "GetSetGravity_IHandler")>
    Public Overridable Sub SetGravity( _
       ByVal gravity As Android.Views.GravityFlags _
    ) 
    'Usage
     
    
    Dim instance As CalendarYearsPanel
    Dim gravity As Android.Views.GravityFlags
     
    instance.SetGravity(gravity)
    [Android.Runtime.Register("setGravity", 
       "(I)V", 
       "GetSetGravity_IHandler")]
    public virtual void SetGravity( 
       Android.Views.GravityFlags gravity
    )

    Parameters

    gravity
    See Also