C# Класс Nexus.UI.Controls.FontProvider

Наследование: System.ComponentModel.Component, IExtenderProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanExtend ( object extendee ) : bool

Specifies whether this object can provide its extender properties to the specified object.

FontProvider ( ) : System

Creates a new instance of the FontProvider class.

SetFontSet ( object component, string fontSet ) : void

Sets the font set for the component passed.

SetFontSetResolver ( IFontSetResolver p_fsrResolver ) : void

Sets the resolver to use to get the font associated with a font set.

SetFontSize ( object component, float fontSize ) : void

Sets the font size for the component passed.

SetFontStyle ( object component, FontStyle fontStyle ) : void

Sets the font set for the component passed.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

SetFontInformation ( object component, FontSetInformation information ) : void

Sets the font set for the component passed.

Приватные методы

Метод Описание
GetFontInformation ( object component ) : FontSetInformation
GetFontSet ( object component ) : string
GetFontSize ( object component ) : float
GetFontStyle ( object component ) : FontStyle
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Описание методов

CanExtend() публичный Метод

Specifies whether this object can provide its extender properties to the specified object.
public CanExtend ( object extendee ) : bool
extendee object
Результат bool

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

FontProvider() публичный Метод

Creates a new instance of the FontProvider class.
public FontProvider ( ) : System
Результат System

SetFontInformation() защищенный Метод

Sets the font set for the component passed.
protected SetFontInformation ( object component, FontSetInformation information ) : void
component object The component to set the font set for.
information FontSetInformation The name of the font set used.
Результат void

SetFontSet() публичный Метод

Sets the font set for the component passed.
public SetFontSet ( object component, string fontSet ) : void
component object The component to set the font set for.
fontSet string The name of the font set used.
Результат void

SetFontSetResolver() публичный статический Метод

Sets the resolver to use to get the font associated with a font set.
public static SetFontSetResolver ( IFontSetResolver p_fsrResolver ) : void
p_fsrResolver IFontSetResolver The resolver to use to get the font associated with a font set.
Результат void

SetFontSize() публичный Метод

Sets the font size for the component passed.
public SetFontSize ( object component, float fontSize ) : void
component object The component to set the font set for.
fontSize float The size of the font.
Результат void

SetFontStyle() публичный Метод

Sets the font set for the component passed.
public SetFontStyle ( object component, FontStyle fontStyle ) : void
component object The component to set the font set for.
fontStyle FontStyle The name of the font set used.
Результат void