Bewerken

Share via


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
IconEditor

Constructors

IconEditor()

Initializes a new instance of the IconEditor class.

Properties

IsDropDownResizable

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

(Inherited from UITypeEditor)

Methods

CreateExtensionsString(String[], String)

Creates a string representing the valid file extensions for icons.

CreateFilterEntry(IconEditor)

Creates a filter string for the file dialog box.

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)

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

Equals(Object)

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

(Inherited from Object)
GetEditStyle()

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

(Inherited from UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

Retrieves the editing style of the EditValue method.

GetExtensions()

Retrieves an array of valid file extensions for icons.

GetFileDialogDescription()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetPaintValueSupported()

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

(Inherited from UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadFromStream(Stream)

Creates a new Icon from the given stream.

MemberwiseClone()

Creates a shallow copy of the current Object.

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

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

(Inherited from UITypeEditor)
PaintValue(PaintValueEventArgs)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to