[]
        
(Showing Draft Content)

C1.Framework.FontIconElement

FontIconElement Class

Represents an icon created from a font.

Inheritance
FontIconElement
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class FontIconElement : IconElement, ISupportUia

Constructors

Name Description
FontIconElement()

Initializes a new instance of the FontIconElement class.

FontIconElement(C1FontIcon)

Initializes a new instance of the FontIconElement class.

FontIconElement(C1FontIcon, Style)

Initializes a new instance of the FontIconElement class.

Properties

Name Description
Font
ShouldRasterize

Determines whether icon needs bitmap cache for drawing. Returns False.

ShouldResize

Determines whether icon image should be resized according to the C1Icon element size. Returns False.

Text

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

Methods

Name Description
InitializeUI()

Initializes the UI.

OnIconChanged(C1Icon, PropertyChangedEventArgs)

Updates element properties on icon property changes.

RenderIcon(Style, Graphics, Rectangle)

Renders content into the given rectangle.

ToString()

Gets a string representation of this C1FontIcon.