IconEditor IconEditor IconEditor IconEditor Class

Definition

Provides a UITypeEditor for visually choosing an icon.

public ref class IconEditor : System::Drawing::Design::UITypeEditor
public class IconEditor : System.Drawing.Design.UITypeEditor
type IconEditor = class
    inherit UITypeEditor
Public Class IconEditor
Inherits UITypeEditor
Inheritance

Constructors

IconEditor() IconEditor() IconEditor() IconEditor()

Initializes a new instance of the IconEditor class.

Methods

CreateExtensionsString(String[], String) CreateExtensionsString(String[], String) CreateExtensionsString(String[], String) CreateExtensionsString(String[], String)

Creates a string representing the valid file extensions for icons.

CreateFilterEntry(IconEditor) CreateFilterEntry(IconEditor) CreateFilterEntry(IconEditor) CreateFilterEntry(IconEditor)

Creates a filter string for the file dialog box.

EditValue(IServiceProvider, Object) EditValue(IServiceProvider, Object) EditValue(IServiceProvider, Object) EditValue(IServiceProvider, Object)

Edits the value of the specified object using the editor style indicated by the GetEditStyle() method.

(Inherited from UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object) EditValue(ITypeDescriptorContext, IServiceProvider, Object) EditValue(ITypeDescriptorContext, IServiceProvider, Object) EditValue(ITypeDescriptorContext, IServiceProvider, Object)

Edits the given object value using the editor style provided by the GetEditStyle(ITypeDescriptorContext) method.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEditStyle() GetEditStyle() GetEditStyle() GetEditStyle()

Gets the editor style used by the EditValue(IServiceProvider, Object) method.

(Inherited from UITypeEditor)
GetEditStyle(ITypeDescriptorContext) GetEditStyle(ITypeDescriptorContext) GetEditStyle(ITypeDescriptorContext) GetEditStyle(ITypeDescriptorContext)

Retrieves the editing style of the EditValue method.

GetExtensions() GetExtensions() GetExtensions() GetExtensions()

Retrieves an array of valid file extensions for icons.

GetFileDialogDescription() GetFileDialogDescription() GetFileDialogDescription() GetFileDialogDescription()

Gets the description for the default file list filter provided by this editor.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetPaintValueSupported() GetPaintValueSupported() GetPaintValueSupported() GetPaintValueSupported()

Indicates whether this editor supports painting a representation of an object's value.

(Inherited from UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext) GetPaintValueSupported(ITypeDescriptorContext) GetPaintValueSupported(ITypeDescriptorContext) GetPaintValueSupported(ITypeDescriptorContext)

Determines if this editor supports the painting of a representation of an object's value.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadFromStream(Stream) LoadFromStream(Stream) LoadFromStream(Stream) LoadFromStream(Stream)

Creates a new Icon from the given stream.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PaintValue(Object, Graphics, Rectangle) PaintValue(Object, Graphics, Rectangle) PaintValue(Object, Graphics, Rectangle) PaintValue(Object, Graphics, Rectangle)

Paints a representation of the value of the specified object to the specified canvas.

(Inherited from UITypeEditor)
PaintValue(PaintValueEventArgs) PaintValue(PaintValueEventArgs) PaintValue(PaintValueEventArgs) PaintValue(PaintValueEventArgs)

Paints a representative value of the given object to the provided canvas.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Properties

IsDropDownResizable IsDropDownResizable IsDropDownResizable IsDropDownResizable

Gets a value indicating whether drop-down editors should be resizable by the user.

(Inherited from UITypeEditor)

Security

SecurityPermission
for access to unmanaged code. Associated enumeration: UnmanagedCode

Applies to