Share via


BitmapEditor クラス

定義

重要

この API は CLS 準拠ではありません。

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

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
[System.CLSCompliant(false)]
public class BitmapEditor : System.Drawing.Design.ImageEditor
type BitmapEditor = class
    inherit ImageEditor
[<System.Security.SecurityCritical>]
type BitmapEditor = class
    inherit ImageEditor
[<System.CLSCompliant(false)>]
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 クラスの新しいインスタンスを初期化します。

フィールド

BitmapExtensions

ファイル一覧のフィルター処理に使用される既定のファイル拡張子の一覧を提供します。

プロパティ

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)

適用対象