AxHost.ShowPropertyPages 方法

定义

显示与 ActiveX 控件关联的属性页。Displays the property pages associated with the ActiveX control.

重载

ShowPropertyPages()

显示与 ActiveX 控件关联的属性页。Displays the property pages associated with the ActiveX control.

ShowPropertyPages(Control)

显示与分配给指定父控件的 ActiveX 控件关联的属性页。Displays the property pages associated with the ActiveX control assigned to the specified parent control.

ShowPropertyPages()

显示与 ActiveX 控件关联的属性页。Displays the property pages associated with the ActiveX control.

public:
 void ShowPropertyPages();
public void ShowPropertyPages ();
member this.ShowPropertyPages : unit -> unit
Public Sub ShowPropertyPages ()

注解

如果HasPropertyPagesfalse,则不显示任何属性页。If HasPropertyPages is false, no property pages are displayed.

属性页允许 ActiveX 控件用户查看和更改 ActiveX 控件属性。Property pages allow an ActiveX control user to view and change ActiveX control properties. 可以通过调用 "控件属性" 对话框来访问这些属性,其中包含一个或多个属性页,它们提供自定义的图形界面,可用于查看和编辑控件属性。These properties are accessed by invoking a control properties dialog box, which contains one or more property pages that provide a customized, graphical interface for viewing and editing the control properties.

另请参阅

ShowPropertyPages(Control)

显示与分配给指定父控件的 ActiveX 控件关联的属性页。Displays the property pages associated with the ActiveX control assigned to the specified parent control.

public:
 void ShowPropertyPages(System::Windows::Forms::Control ^ control);
public void ShowPropertyPages (System.Windows.Forms.Control control);
member this.ShowPropertyPages : System.Windows.Forms.Control -> unit

参数

control
Control

ActiveX 控件的父级 ControlThe parent Control of the ActiveX control.

注解

如果HasPropertyPagesfalse,则不显示任何属性页。If HasPropertyPages is false, no property pages are displayed.

属性页允许 ActiveX 控件用户查看和更改 ActiveX 控件属性。Property pages allow an ActiveX control user to view and change ActiveX control properties. 可以通过调用 "控件属性" 对话框来访问这些属性,其中包含一个或多个属性页,它们提供自定义的图形界面,可用于查看和编辑控件属性。These properties are accessed by invoking a control properties dialog box, which contains one or more property pages that provide a customized, graphical interface for viewing and editing the control properties.

另请参阅

适用于