Reordering-XPTaskPage in Windows Forms xptaskpane (XPTaskPane)
27 Sep 2018 / 1 minute to read
When the end user adds a page to the XPTaskPane control, the order of the page is decided, as the page is added. They can be reordered using any one of the below methods in the designer.
- Through XPTaskPage Collection Editor.
- Select a page in the designer and choose the ‘Bring To Front’ or ‘Send To Back’ verb which will move the page to the beginning of the collection or to the end of the collection, respectively.
Going to next page or previous page
- Right-click a page in the designer and choose the ‘Previous Page’ or ‘Next Page’ verb which will show you the page, which is before the current page or the page which is after the current page. These options can also be accessed through smart tag and property grid commands.
Page order at RunTime
XPTaskPage allows you to set the next or the previous page to the currently selected page through the NextPage and PreviousPage properties.
Property table
XPTaskPage property | Description |
---|---|
NextPage | It sets the next page for XP TaskPane. |
PreviousPage | It sets the previous page for XP TaskPane. |
NOTE
The TaskPane follows this order at run time.
this.xpTaskPage2.NextPage = this.xpTaskPage3;
this.xpTaskPage2.PreviousPage = this.xpTaskPage1;
Me.xpTaskPage2.NextPage = Me.xpTaskPage3
Me.xpTaskPage2.PreviousPage = Me.xpTaskPage1
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page