C# 클래스 Nexus.UI.Controls.FontProvider

상속: System.ComponentModel.Component, IExtenderProvider
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
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