語言

ColorEditor 類別

定義

重要

此 API 不符合 CLS 規範。

提供視覺選擇顏色的輔助 UITypeEditor 工具。

public ref class ColorEditor : System::Drawing::Design::UITypeEditor
public class ColorEditor : System.Drawing.Design.UITypeEditor
[System.CLSCompliant(false)]
public class ColorEditor : System.Drawing.Design.UITypeEditor
type ColorEditor = class
    inherit UITypeEditor
[<System.CLSCompliant(false)>]
type ColorEditor = class
    inherit UITypeEditor
Public Class ColorEditor
Inherits UITypeEditor
繼承
ColorEditor
屬性

建構函式

名稱 Description
ColorEditor()

初始化 ColorEditor 類別的新執行個體。

屬性

名稱 Description
IsDropDownResizable

會有一個值,指示下拉選單編輯器是否應該被使用者調整大小。

(繼承來源 UITypeEditor)

方法

名稱 Description
EditValue(IServiceProvider, Object)

使用方法指示 GetEditStyle() 的編輯器樣式編輯指定物件的值。

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

使用方法提供的 GetEditStyle(ITypeDescriptorContext) 編輯器樣式編輯給定物件值。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEditStyle()

會得到方法中使用的 EditValue(IServiceProvider, Object) 編輯器風格。

(繼承來源 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

取得編輯方法的剪輯風格。 若不支援該方法,則會返回 None。

GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetPaintValueSupported()

表示此編輯器是否支援繪製物件價值的表示。

(繼承來源 UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

會獲得一個值,表示此編輯器是否支援繪製物件值的表示。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

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

繪製指定物件價值在指定畫布上的表示。

(繼承來源 UITypeEditor)
PaintValue(PaintValueEventArgs)

將指定物件的代表值繪製到所提供的畫布上。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於