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 ()

備註

如果 falseHasPropertyPages,則不會顯示任何屬性頁。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.

備註

如果 falseHasPropertyPages,則不會顯示任何屬性頁。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.

另請參閱

適用於