FontEditor Class
.NET Framework 3.0
Provides a user interface to select and configure a Font object.
Namespace: System.Drawing.Design
Assembly: System.Drawing.Design (in system.drawing.design.dll)
Assembly: System.Drawing.Design (in system.drawing.design.dll)
FontEditor is a UITypeEditor that provides a user interface for choosing and configuring a Font from a list of available fonts.
The following code example uses an EditorAttribute to associate the FontEditor with a property.
<EditorAttribute(GetType(System.Drawing.Design.FontEditor), GetType(System.Drawing.Design.UITypeEditor))> _ Public Property testFont() As Font Get Return font End Get Set font = value End Set End Property Private font As Font
/** @attribute EditorAttribute(System.Drawing.Design.FontEditor.class,
System.Drawing.Design.UITypeEditor.class)
*/
/** @property
*/
public Font get_TestFont()
{
return font;
} //get_TestFont
/** @property
*/
public void set_TestFont(Font value)
{
font = value;
} //set_TestFont
private Font font;
- SecurityPermission for access to unmanaged code. Associated enumeration: UnmanagedCode
- NamedPermissionSet for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state: Full Trust
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: