Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1TextBox Class / SetTypeface Method


In This Topic
    SetTypeface Method (C1TextBox)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setTypeface", 
       "(Landroid/graphics/Typeface;I)V", 
       "GetSetTypeface_Landroid_graphics_Typeface_IHandler")>
    Public Overridable Sub SetTypeface( _
       ByVal tf As Android.Graphics.Typeface, _
       ByVal style As Android.Graphics.TypefaceStyle _
    ) 
    'Usage
     
    
    Dim instance As C1TextBox
    Dim tf As Android.Graphics.Typeface
    Dim style As Android.Graphics.TypefaceStyle
     
    instance.SetTypeface(tf, style)
    [Android.Runtime.Register("setTypeface", 
       "(Landroid/graphics/Typeface;I)V", 
       "GetSetTypeface_Landroid_graphics_Typeface_IHandler")]
    public virtual void SetTypeface( 
       Android.Graphics.Typeface tf,
       Android.Graphics.TypefaceStyle style
    )

    Parameters

    tf
    style
    See Also