Table of Contents

Class PropertyGridAdapterFont

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Helper class for using Font properties in the PropertyGrid.

public class PropertyGridAdapterFont : PropertyGridAdapterGeneric
Inheritance
PropertyGridAdapterFont

Properties

Bold

Gets a value that indicates whether this Font is bold.

Font

Returns Value as Font.

FontNameChoices

Gets all installed Font names as IPropertyGridChoices

Italic

Gets a value that indicates whether this Font is italic.

Name

Gets the font family name of this Font.

NameAsIndex

Gets or sets font name as index in FontNameChoices.

SizeInPoints

Gets the em-size, in points, of this Font.

Strikethrough

Gets a value that indicates whether this Font specifies a horizontal line through the font.

Style

Gets style information for this Font.

Underlined

Gets a value that indicates whether this Font is underlined.

Methods

CreateProps(IPropertyGrid)

Creates properties to show in PropertyGrid.

Load()

Loads instance property value.

Save()

Updates instance property value.