BaseDataListComponentEditor 類別

定義

提供一個元件編輯器基底類別,用於由該 BaseDataList 類別衍生的網頁伺服器控制項。

public ref class BaseDataListComponentEditor abstract : System::Windows::Forms::Design::WindowsFormsComponentEditor
public abstract class BaseDataListComponentEditor : System.Windows.Forms.Design.WindowsFormsComponentEditor
type BaseDataListComponentEditor = class
    inherit WindowsFormsComponentEditor
Public MustInherit Class BaseDataListComponentEditor
Inherits WindowsFormsComponentEditor
繼承
BaseDataListComponentEditor
衍生

備註

元件編輯器提供一個使用者介面,用來編輯控制項的屬性。 元件編輯器是透過控制項設計器中右鍵選單中的 屬性建構 器選單項目來呼叫的。 源自 BaseDataListComponentEditor 該類別的元件編輯器是由從該類別衍生出 BaseDataListDesigner 的設計器調用,並用於編輯從 BaseDataList 該類別衍生出的控制項的屬性。 此類控制的例子請參見 DataGridDataList

若能建立相關控制項,該 EditComponent 方法會顯示相關控制項的元件編輯器。 該方法會 GetInitialComponentEditorPageIndex 回傳元件編輯器中要顯示的初始頁面索引。

建構函式

名稱 Description
BaseDataListComponentEditor(Int32)

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

方法

名稱 Description
EditComponent(ITypeDescriptorContext, Object, IWin32Window)

透過指定的上下文描述符和父視窗來編輯指定的元件。

EditComponent(ITypeDescriptorContext, Object)

建立一個編輯器視窗,讓使用者能使用指定的上下文資訊編輯指定的元件。

(繼承來源 WindowsFormsComponentEditor)
EditComponent(Object, IWin32Window)

建立一個編輯器視窗,讓使用者使用擁有該元件的指定視窗來編輯指定的元件。

(繼承來源 WindowsFormsComponentEditor)
EditComponent(Object)

編輯該元件並回傳一個值,表示該元件是否被修改。

(繼承來源 ComponentEditor)
Equals(Object)

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

(繼承來源 Object)
GetComponentEditorPages()

取得與該編輯器相關的元件編輯器頁面。

(繼承來源 WindowsFormsComponentEditor)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetInitialComponentEditorPageIndex()

取得初始頁面的索引,並顯示在元件編輯器中。

GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱