[]
        
(Showing Draft Content)

C1.Android.Core.C1FontIcon

C1FontIcon Class

Represents an icon created from a font.

Inheritance
C1FontIcon
Namespace: C1.Android.Core
Assembly: C1.Android.Core.dll
Syntax
public class C1FontIcon : C1Icon, IDependencyObject, ICloneable
Public Class C1FontIcon
    Inherits C1Icon
    Implements IDependencyObject, ICloneable

Constructors

Name Description
C1FontIcon(Context)

Initializes a new instance of the C1FontIcon class.

C1FontIcon(Context, IAttributeSet)

Initializes a new instance of the C1FontIcon class.

C1FontIcon(Context, IAttributeSet, int)

Initializes a new instance of the C1FontIcon class.

C1FontIcon(nint, JniHandleOwnership)

Fields

Name Description
FontFamilyProperty

Identifies the FontFamily dependency property.

FontSizeProperty

Identifies the FontSize dependency property.

TextProperty

Identifies the Text dependency property.

Properties

Name Description
FontFamily

Gets the font family containing the icon.

FontSize

Gets the size of the font.

Text

Gets the text that represents the icon in the specified FontFamily.

Methods

Name Description
Clone()

Creates a copy of the icon.

CloneOverride()

When overridden, it creates a copy of the icon.

Dispose(bool)
Draw(Canvas)
GetIntrinsicIconSize()

Gets the intrinsic size of the icon.

OnAttachedToWindow()
OnDetachedFromWindow()
OnFontChanged()

Called when any of the font properties changed.

OnLayout(bool, int, int, int, int)