BitmapEditor Class
.NET Framework 2.0
Provides a user interface for selecting bitmap files in a property browser.
Namespace: System.Drawing.Design
Assembly: System.Drawing.Design (in system.drawing.design.dll)
Assembly: System.Drawing.Design (in system.drawing.design.dll)
The following code example uses an EditorAttribute to associate the BitmapEditor with a property.
<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
/** @attribute EditorAttribute(
System.Drawing.Design.BitmapEditor.class,
System.Drawing.Design.UITypeEditor.class)
*/
/** @property
*/
public Bitmap get_testBitmap()
{
return testBmp;
} //get_testBitmap
/** @property
*/
public void set_testBitmap(Bitmap value)
{
testBmp = value;
} //set_testBitmap
private Bitmap testBmp;
- SecurityPermission for access to unmanaged code. Associated enumeration: UnmanagedCode
- NamedPermissionSet for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state: FullTrust
System.Object
System.Drawing.Design.UITypeEditor
System.Drawing.Design.ImageEditor
System.Drawing.Design.BitmapEditor
System.Drawing.Design.UITypeEditor
System.Drawing.Design.ImageEditor
System.Drawing.Design.BitmapEditor
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: