IconEditor 類別

定義

提供以視覺化方式選取圖示的 UITypeEditorProvides 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
繼承
IconEditor

建構函式

IconEditor()

初始化 IconEditor 類別的新執行個體。Initializes a new instance of the IconEditor class.

屬性

IsDropDownResizable

取得值,表示使用者是否能夠調整下拉式編輯器的大小。Gets a value indicating whether drop-down editors should be resizable by the user.

(繼承來源 UITypeEditor)

方法

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)

使用由 GetEditStyle() 方法指示的編輯器樣式,來編輯指定物件的值。Edits the value of the specified object using the editor style indicated by the GetEditStyle() method.

(繼承來源 UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

使用 GetEditStyle(ITypeDescriptorContext) 方法所提供的編輯器樣式來編輯指定的物件值。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.

(繼承來源 Object)
GetEditStyle()

取得 EditValue(IServiceProvider, Object) 方法所使用的編輯器樣式。Gets the editor style used by the EditValue(IServiceProvider, Object) method.

(繼承來源 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

擷取 EditValue 方法的編輯樣式。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.

(繼承來源 Object)
GetPaintValueSupported()

指出這個編輯器是否支援繪製物件值的表示。Indicates whether this editor supports painting a representation of an object's value.

(繼承來源 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

判斷這個編輯器是否支援繪製物件值的表示。Determines if this editor supports the painting of a representation of an object's value.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
LoadFromStream(Stream)

從指定的資料流建立新的 IconCreates a new Icon from the given stream.

MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
PaintValue(Object, Graphics, Rectangle)

將指定物件的表示值繪製到指定的畫布上。Paints a representation of the value of the specified object to the specified canvas.

(繼承來源 UITypeEditor)
PaintValue(PaintValueEventArgs)

將指定物件的表示值繪製到提供的畫布上。Paints a representative value of the given object to the provided canvas.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

安全性

SecurityPermission
用於存取未受管理的程式碼。for access to unmanaged code. 相關聯的列舉:UnmanagedCodeAssociated enumeration: UnmanagedCode

適用於