FontEditor クラス
アセンブリ: System.Drawing.Design (system.drawing.design.dll 内)



EditorAttribute を使用して、FontEditor とプロパティを関連付けるコード例を次に示します。
<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
[EditorAttribute(typeof(System.Drawing.Design.FontEditor), typeof(System.Drawing.Design.UITypeEditor))] public Font testFont { get { return font; } set { font = value; } } private Font font;
public: [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid, System::Drawing::Design::UITypeEditor::typeid)] property System::Drawing::Font^ testFont { System::Drawing::Font^ get() { return font; } void set( System::Drawing::Font^ value ) { font = value; } } private: Font^ font;

- SecurityPermission (アンマネージ コードへのアクセスに必要なアクセス許可)。UnmanagedCode (関連する列挙体)
- NamedPermissionSet (システム リソースへのフル アクセスに必要なアクセス許可)。LinkDemand、InheritanceDemand (要求値)。FullTrust (関連する状態)。

System.Drawing.Design.UITypeEditor
System.Drawing.Design.FontEditor


Windows 98, Windows 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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- FontEditor クラスのページへのリンク