TextView.Typeface Property

Definition

Gets the current Typeface that is used to style the text. -or- Sets the typeface and style in which the text should be displayed.

public virtual Android.Graphics.Typeface? Typeface { [Android.Runtime.Register("getTypeface", "()Landroid/graphics/Typeface;", "GetGetTypefaceHandler")] get; [Android.Runtime.Register("setTypeface", "(Landroid/graphics/Typeface;)V", "GetSetTypeface_Landroid_graphics_Typeface_Handler")] set; }
[<get: Android.Runtime.Register("getTypeface", "()Landroid/graphics/Typeface;", "GetGetTypefaceHandler")>]
[<set: Android.Runtime.Register("setTypeface", "(Landroid/graphics/Typeface;)V", "GetSetTypeface_Landroid_graphics_Typeface_Handler")>]
member this.Typeface : Android.Graphics.Typeface with get, set

Property Value

Typeface

The current Typeface.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.TextView.getTypeface().

Property setter documentation:

Java documentation for android.widget.TextView.setTypeface(android.graphics.Typeface).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also