BitmapEditor クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロパティ ブラウザーでビットマップ ファイルを選択するためのユーザー インターフェイスを提供します。
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) |