BitmapEditor クラス

定義

プロパティ ブラウザーでビットマップ ファイルを選択するためのユーザー インターフェイスを提供します。

public ref class BitmapEditor : System::Drawing::Design::ImageEditor
public class BitmapEditor : System.Drawing.Design.ImageEditor
[System.Security.SecurityCritical]
public class BitmapEditor : System.Drawing.Design.ImageEditor
type BitmapEditor = class
    inherit ImageEditor
[<System.Security.SecurityCritical>]
type BitmapEditor = class
    inherit ImageEditor
Public Class BitmapEditor
Inherits ImageEditor
継承
属性

次のコード例では、 EditorAttribute を使用して BitmapEditor をプロパティに関連付けます。

      [EditorAttribute(System::Drawing::Design::BitmapEditor::typeid,System::Drawing::Design::UITypeEditor::typeid)]
      Bitmap^ get()
      {
         return testBmp;
      }

      void set( Bitmap^ value )
      {
         testBmp = value;
      }
   }

private:
   Bitmap^ testBmp;
[EditorAttribute(typeof(System.Drawing.Design.BitmapEditor),
    typeof(System.Drawing.Design.UITypeEditor))]
public Bitmap testBitmap
{
    get
    {
        return testBmp;
    }
    set
    {
        testBmp = value;
    }
}
private Bitmap testBmp;
<EditorAttribute(GetType(System.Drawing.Design.BitmapEditor), _
    GetType(System.Drawing.Design.UITypeEditor))> _
Public Property testBitmap() As Bitmap
    Get
        Return testBmp
    End Get
    Set(ByVal Value As Bitmap)
        testBmp = Value
    End Set
End Property

Private testBmp As Bitmap

注釈

BitmapEditor クラスは、プロパティのビットマップ イメージを選択する簡単な方法を提供します。 エディターを起動すると、[ファイルを 開く ] ダイアログ ボックスが表示され、ディレクトリのナビゲーションとファイルの選択が可能になります。 ファイル リストは、最初はビットマップ (.bmp) ファイル用にフィルター処理されます。

コンストラクター

名前 説明
BitmapEditor()

BitmapEditor クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
IsDropDownResizable

ユーザーがドロップダウン エディターのサイズを変更できるかどうかを示す値を取得します。

(継承元 UITypeEditor)

メソッド

名前 説明
EditValue(IServiceProvider, Object)

GetEditStyle() メソッドで示されるエディター スタイルを使用して、指定したオブジェクトの値を編集します。

(継承元 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

GetEditStyle(ITypeDescriptorContext) メソッドによって提供される編集スタイルを使用して、指定したオブジェクト値を編集します。

(継承元 ImageEditor)
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetEditStyle()

EditValue(IServiceProvider, Object) メソッドで使用されるエディター スタイルを取得します。

(継承元 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

EditValue(ITypeDescriptorContext, IServiceProvider, Object) メソッドの編集スタイルを取得します。

(継承元 ImageEditor)
GetExtensions()

ビットマップ エディターがファイル リストのフィルター処理に最初に使用するファイル リスト フィルターの拡張子を取得します。

GetFileDialogDescription()

このエディターによって提供される既定のファイル リスト フィルターの説明を取得します。

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetImageExtenders()

サポートされているイメージの種類の配列を取得します。

(継承元 ImageEditor)
GetPaintValueSupported()

このエディターがオブジェクトの値の表現の描画をサポートするかどうかを示します。

(継承元 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

このエディターがオブジェクトの値の表現の描画をサポートしているかどうかを示す値を取得します。

(継承元 ImageEditor)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
LoadFromStream(Stream)

指定したストリームからイメージを読み込みます。

MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
PaintValue(Object, Graphics, Rectangle)

指定したオブジェクトの値の表現を、指定したキャンバスに描画します。

(継承元 UITypeEditor)
PaintValue(PaintValueEventArgs)

指定した PaintValueEventArgsによって示される値を描画します。

(継承元 ImageEditor)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象