AxHost.AxComponentEditor AxHost.AxComponentEditor AxHost.AxComponentEditor AxHost.AxComponentEditor Class

定义

提供一个编辑器,该编辑器使用模式对话框显示 ActiveX 控件的属性页。Provides an editor that uses a modal dialog box to display a property page for an ActiveX control.

public: ref class AxHost::AxComponentEditor : System::Windows::Forms::Design::WindowsFormsComponentEditor
[System.Runtime.InteropServices.ComVisible(false)]
public class AxHost.AxComponentEditor : System.Windows.Forms.Design.WindowsFormsComponentEditor
type AxHost.AxComponentEditor = class
    inherit WindowsFormsComponentEditor
Public Class AxHost.AxComponentEditor
Inherits WindowsFormsComponentEditor
继承
属性

构造函数

AxHost.AxComponentEditor() AxHost.AxComponentEditor() AxHost.AxComponentEditor() AxHost.AxComponentEditor()

初始化 AxHost.AxComponentEditor 类的新实例。Initializes a new instance of the AxHost.AxComponentEditor class.

方法

EditComponent(ITypeDescriptorContext, Object) EditComponent(ITypeDescriptorContext, Object) EditComponent(ITypeDescriptorContext, Object) EditComponent(ITypeDescriptorContext, Object)

使用指定的上下文信息创建编辑器窗口,该窗口允许用户编辑指定的组件。Creates an editor window that allows the user to edit the specified component, using the specified context information.

(Inherited from WindowsFormsComponentEditor)
EditComponent(ITypeDescriptorContext, Object, IWin32Window) EditComponent(ITypeDescriptorContext, Object, IWin32Window) EditComponent(ITypeDescriptorContext, Object, IWin32Window) EditComponent(ITypeDescriptorContext, Object, IWin32Window)

创建允许用户编辑指定组件的编辑器窗口。Creates an editor window that allows the user to edit the specified component.

EditComponent(Object) EditComponent(Object) EditComponent(Object) EditComponent(Object)

编辑该组件并返回一个表示是否修改了该组件的值。Edits the component and returns a value indicating whether the component was modified.

(Inherited from ComponentEditor)
EditComponent(Object, IWin32Window) EditComponent(Object, IWin32Window) EditComponent(Object, IWin32Window) EditComponent(Object, IWin32Window)

使用拥有指定组件的指定窗口来创建编辑器窗口,该窗口允许用户编辑该指定组件。Creates an editor window that allows the user to edit the specified component, using the specified window that owns the component.

(Inherited from WindowsFormsComponentEditor)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetComponentEditorPages() GetComponentEditorPages() GetComponentEditorPages() GetComponentEditorPages()

获取与组件编辑器关联的组件编辑器页。Gets the component editor pages associated with the component editor.

(Inherited from WindowsFormsComponentEditor)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetInitialComponentEditorPageIndex() GetInitialComponentEditorPageIndex() GetInitialComponentEditorPageIndex() GetInitialComponentEditorPageIndex()

获取要显示的组件编辑器的初始组件编辑器页的索引。Gets the index of the initial component editor page for the component editor to display.

(Inherited from WindowsFormsComponentEditor)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于