Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1TexBoxBackgroundDrawable Class / SetOrientation Method


In This Topic
    SetOrientation Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setOrientation", 
       "(Landroid/graphics/drawable/GradientDrawable$Orientation;)V", 
       "GetSetOrientation_Landroid_graphics_drawable_GradientDrawable_Orientation_Handler", 
       ApiSince=16)>
    Public Overridable Sub SetOrientation( _
       ByVal orientation As Android.Graphics.Drawables.GradientDrawable.Orientation _
    ) 
    'Usage
     
    
    Dim instance As C1TexBoxBackgroundDrawable
    Dim orientation As Android.Graphics.Drawables.GradientDrawable.Orientation
     
    instance.SetOrientation(orientation)
    [Android.Runtime.Register("setOrientation", 
       "(Landroid/graphics/drawable/GradientDrawable$Orientation;)V", 
       "GetSetOrientation_Landroid_graphics_drawable_GradientDrawable_Orientation_Handler", 
       ApiSince=16)]
    public virtual void SetOrientation( 
       Android.Graphics.Drawables.GradientDrawable.Orientation orientation
    )

    Parameters

    orientation
    See Also