ObjectSelectorEditor 類別

定義

實作可用於設計值編輯器的基本功能。Implements the basic functionality that can be used to design value editors. 而這些編輯器可以提供使用者介面,表示並編輯受支援資料型別之物件的值。These editors can, in turn, provide a user interface for representing and editing the values of objects of the supported data types.

public ref class ObjectSelectorEditor abstract : System::Drawing::Design::UITypeEditor
public abstract class ObjectSelectorEditor : System.Drawing.Design.UITypeEditor
type ObjectSelectorEditor = class
    inherit UITypeEditor
Public MustInherit Class ObjectSelectorEditor
Inherits UITypeEditor
繼承
ObjectSelectorEditor

建構函式

ObjectSelectorEditor()

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

ObjectSelectorEditor(Boolean)

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

欄位

currValue

表示 ObjectSelectorEditor 的目前值。Represents the current value of ObjectSelectorEditor.

prevValue

表示 ObjectSelectorEditor 的先前值。Represents the previous value of ObjectSelectorEditor.

SubObjectSelector

控制是否可存取標記項目階層式集合中的節點。Controls whether or not the nodes within the hierarchical collection of labeled items are accessible.

屬性

IsDropDownResizable

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

(繼承來源 UITypeEditor)

方法

ApplyTreeViewThemeStyles(TreeView)
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 所指示的編輯器樣式,來編輯指定物件的值。Edits the value of the specified object using the editor style indicated by GetEditStyle.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
EqualsToValue(Object)

判斷指定的 Object 是否等於目前的 ObjectDetermines whether the specified Object is equal to the current Object.

FillTreeWithData(ObjectSelectorEditor+Selector, ITypeDescriptorContext, IServiceProvider)

填入標記項目的階層式集合,每個項目皆由 TreeNode 表示。Fills a hierarchical collection of labeled items, with each item represented by a TreeNode.

GetEditStyle()

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

(繼承來源 UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

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

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)

指出指定的內容是否支援在指定的內容中繪製物件值的表示。Indicates whether the specified context supports painting a representation of an object's value within the specified context.

(繼承來源 UITypeEditor)
GetType()

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

(繼承來源 Object)
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)

使用指定的 PaintValueEventArgs 來繪製物件值的表示。Paints a representation of the value of an object using the specified PaintValueEventArgs.

(繼承來源 UITypeEditor)
SetValue(Object)

將目前 ObjectSelectorEditor 設定為指定值。Sets the current ObjectSelectorEditor to the specified value.

ToString()

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

(繼承來源 Object)

適用於