WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the index of the initial component editor page for the component editor to display.
protected:
virtual int GetInitialComponentEditorPageIndex();
protected virtual int GetInitialComponentEditorPageIndex ();
abstract member GetInitialComponentEditorPageIndex : unit -> int
override this.GetInitialComponentEditorPageIndex : unit -> int
Protected Overridable Function GetInitialComponentEditorPageIndex () As Integer
Returns
The index of the component editor page that the component editor will initially display.
Examples
The following code example demonstrates an example implementation of a GetInitialComponentEditorPageIndex method override.
// This method override returns the index of the page to display when the
// component editor is first displayed.
protected override int GetInitialComponentEditorPageIndex()
{
return 1;
}
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา