FontEditorとは? わかりやすく解説

FontEditor クラス

Font オブジェクト選択および設定するためのユーザー インターフェイス提供します

名前空間: System.Drawing.Design
アセンブリ: System.Drawing.Design (system.drawing.design.dll 内)
構文構文

Public Class FontEditor
    Inherits UITypeEditor
public class FontEditor : UITypeEditor
public ref class FontEditor : public
 UITypeEditor
public class FontEditor extends UITypeEditor
public class FontEditor extends
 UITypeEditor
解説解説

FontEditor は、利用可能フォントの一覧から Font選択設定を行うユーザー インターフェイス提供する UITypeEditor です。

使用例使用例

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;
/** @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;
.NET Framework のセキュリティ.NET Frameworkセキュリティ
継承階層継承階層
System.Object
   System.Drawing.Design.UITypeEditor
    System.Drawing.Design.FontEditor
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FontEditor メンバ
System.Drawing.Design 名前空間
UITypeEditor

FontEditor コンストラクタ


FontEditor プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ IsDropDownResizable  ユーザーがドロップダウン エディタサイズ変更できるかどうかを示す値を取得します。 ( UITypeEditor から継承されます。)
参照参照

関連項目

FontEditor クラス
System.Drawing.Design 名前空間
UITypeEditor

FontEditor メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

FontEditor クラス
System.Drawing.Design 名前空間
UITypeEditor

FontEditor メンバ

Font オブジェクト選択および設定するためのユーザー インターフェイス提供します

FontEditor データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド FontEditor FontEditor クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ IsDropDownResizable  ユーザーがドロップダウン エディタサイズ変更できるかどうかを示す値を取得します。(UITypeEditor から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

FontEditor クラス
System.Drawing.Design 名前空間
UITypeEditor



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「FontEditor」の関連用語

FontEditorのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



FontEditorのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS