AnchorEditor クラスとは? わかりやすく解説

AnchorEditor クラス

Anchor プロパティ構成するためのユーザー インターフェイス提供します

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

Public NotInheritable Class
 AnchorEditor
    Inherits UITypeEditor
public sealed class AnchorEditor : UITypeEditor
public ref class AnchorEditor sealed : public
 UITypeEditor
public final class AnchorEditor extends UITypeEditor
public final class AnchorEditor extends
 UITypeEditor
解説解説
使用例使用例

EditorAttribute を使用してAnchorEditorプロパティ関連付けるコード例次に示します

<EditorAttribute(GetType(System.Windows.Forms.Design.AnchorEditor),
 GetType(System.Drawing.Design.UITypeEditor))>  _
Public Property testAnchor() As
 System.Windows.Forms.AnchorStyles
   Get
      Return anchor
   End Get
   Set
      anchor = value
   End Set
End Property
Private anchor As AnchorStyles
[EditorAttribute(typeof(System.Windows.Forms.Design.AnchorEditor), typeof(System.Drawing.Design.UITypeEditor))]
public System.Windows.Forms.AnchorStyles testAnchor
{
    get
    {
        return anchor;
    }
    set
    {
        anchor = value;
    }
}
private AnchorStyles anchor;       
public:
   [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid,
      System::Drawing::Design::UITypeEditor::typeid)]
   property System::Windows::Forms::AnchorStyles testAnchor 
   {
      System::Windows::Forms::AnchorStyles get()
      {
         return anchor;
      }
      void set( System::Windows::Forms::AnchorStyles
 value )
      {
         anchor = value;
      }
   }
private:
   AnchorStyles anchor;
/** @attribute EditorAttribute(System.Windows.Forms.Design.AnchorEditor.
    class, System.Drawing.Design.UITypeEditor.class)
 */
/** @property 
 */
public System.Windows.Forms.AnchorStyles get_TestAnchor()
{
    return anchor;
} //get_TestAnchor

/** @property 
 */
public void set_TestAnchor(System.Windows.Forms.AnchorStyles
 value)
{
    anchor = value;
} //set_TestAnchor

private AnchorStyles anchor;
継承階層継承階層
System.Object
   System.Drawing.Design.UITypeEditor
    System.Windows.Forms.Design.AnchorEditor
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
AnchorEditor メンバ
System.Windows.Forms.Design 名前空間
Anchor



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

辞書ショートカット

すべての辞書の索引

「AnchorEditor クラス」の関連用語

AnchorEditor クラスのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS