SlideShare uma empresa Scribd logo
1 de 3
Create wizard user-interfaces in your apps easily with the ShellObjects.Net
Wizard Control

Introduction

The Wizard control in ShellObjects allows you to quickly create user interfaces in the wizard format. A wizard
presents a long information gathering procedure in the form a series of simple UI pages. Each page may display
information to the user and may gathers data or choices from the user. Each page also displays a Back, Next and
Finish button to allows the user to navigate through the wizard. Additionally, Help and Cancel buttons are also
displayed.

The Wizard control features full design time support allowing you to design the UI of each page of the wizard
completely at design time just like you would design a form. The wizard control allows adding/removing pages at
design-time, changing page properties, reordering pages and each page can be completely designed in the
designer itself.


Wizard Basics

A Wizard consists of a series of pages. Each step of the wizard shows a specific page from its collection of pages
along with the Back, Next, Finish, Cancel and Help buttons for navigation.


Page types

A wizard page can be a Welcome page,an Inner page or a Finish page. Depending on its page type and its position
in the page collection, the wizard shows/hides and enables/disables the wizard buttons when the page is displayed.
A wizard typically consists of a Welcome page, one or more Inner pages, and one or more Finish pages.


Creating and designing a basic wizard at design-time


    •    Select the wizard control from the toolbox and place it on the form. The wizard control automatically fills
         the entire form using DockStyle.Fill.
    •    The next step is to add some pages to the wizard. First add a Welcome page to the wizard by right-
         clicking the wizard and selecting the 'Add Welcome Page' menu item. A page with a pre-defined template
         for a 'Welcome Page' is created. Now add a couple of inner pages by right-clicking on the wizard/page and
         selecting the 'Add Inner page' menu item. A blank wizard page with a page header is added to the wizard
         and displayed. The caption, description and header image can be changed if required. The pages can be
         designed just like you would design any form - by placing child controls on the page. Finally, a Finish page
         is added by right-clicking on the wizard/page and selecting the 'Add Finish page' menu item.


Wizard - Design time support

The Wizard control comes with comprehensive design-time support which allows you to completely design your
wizard including the content of wizard pages just like you would design a form. Pages can be added, removed and
reordered at design-time and their properties can be changed easily.


Navigating pages at design time

At design-time, the wizard control shows two links - '< Back' and 'Next >' - at the bottom left corner for
navigation. Clicking on these links shows the previous or next page of the wizard.

You can also use the Page Manager dialog to directly jump to the desired page.


Using the Page Manager Dialog

The Page Manager allows you at add, remove, modify and reorder pages as well as jump to any page in the wizard.
The Page Manager dialog can be shown by clicking on the 'Page Manager...' link shown in the wizard control in the
bottom left corner. It can also be shown by right-clicking on the wizard at design-time and clicking the 'Page
Manager...' menu item. The Page Manager dialog shows a list of all pages in the wizard page collection, along with
command buttons and a property grid for changing page properties.


Jumping to a page

To jump to a page in the wizard page collection, simply select the page from the page list. The wizard will show
that page as the currently selected wizard page.


Adding a page

To add pages, click on the 'Add Page...' button. A menu will pop up display three choice of pages : Welcome, Inner
and Finish page. Select the desired option and the page will be added to the wizard at the end.


Removing a page

To remove a page from the wizard page collection, select the desired page from the page list and click on the
'Remove' button.


Reordering pages

To move a page around in the wizard page collection, select the desired page from the page list and click the 'Move
Up' or 'Move Down' buttons.


Changing page properties

To change the properties of a page, select the desired page from the page list. The page properties will be shown
in the property grid on the right from where they can be changed.



Configuring the wizard and wizard pages.


Page navigation control at runtime

By default, the wizard navigates through the collection of pages in the order in which they appear in the wizard.
You can change this behavior by handling the wizard level or page-level BackButtonClick and NextButtonClick
events. When such page jumps are used, the BackTrackingStyle property determines how previous pages are
displayed when the Back button is clicked.


Using events

The *ButtonClick events can be handled at the page level and wizard level. When a button click occurs via the UI or
simulated via Perform*ButtonClick methods, the corresponding *ButtonClick event of both the wizard and the
currently selected page is raised. When the selected page changes, the BeforeHide and BeforeShow events are
raised for the current page, then the AfterHide and AfterShow events are raised for the new page. These events
can be handled to cancel the page change.


Configuring buttons

By default, the wizard atomically enables/disables and shows/hides wizard buttons depending on the type of the
currently selected page and its position in the page collection. You can override this by using the *ButtonEnabled
and *ButtonVisible properties. To change other properties of buttons such as their captions, you can directly access
the buttons using the *Button properties.
Conclusion

The ShellObjects.Net Wizard control makes it extremely easy to add full features wizard user-interfaces in your
applications. The comprehensive design-time support enables quick and easy design and development of the
wizard. In addition, the full-featured API allows total customization and control over the features and functionality
of the wizard

Mais conteúdo relacionado

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Create wizard user-interfaces in your apps easily with the ShellObjects.Net Wizard Control

  • 1. Create wizard user-interfaces in your apps easily with the ShellObjects.Net Wizard Control Introduction The Wizard control in ShellObjects allows you to quickly create user interfaces in the wizard format. A wizard presents a long information gathering procedure in the form a series of simple UI pages. Each page may display information to the user and may gathers data or choices from the user. Each page also displays a Back, Next and Finish button to allows the user to navigate through the wizard. Additionally, Help and Cancel buttons are also displayed. The Wizard control features full design time support allowing you to design the UI of each page of the wizard completely at design time just like you would design a form. The wizard control allows adding/removing pages at design-time, changing page properties, reordering pages and each page can be completely designed in the designer itself. Wizard Basics A Wizard consists of a series of pages. Each step of the wizard shows a specific page from its collection of pages along with the Back, Next, Finish, Cancel and Help buttons for navigation. Page types A wizard page can be a Welcome page,an Inner page or a Finish page. Depending on its page type and its position in the page collection, the wizard shows/hides and enables/disables the wizard buttons when the page is displayed. A wizard typically consists of a Welcome page, one or more Inner pages, and one or more Finish pages. Creating and designing a basic wizard at design-time • Select the wizard control from the toolbox and place it on the form. The wizard control automatically fills the entire form using DockStyle.Fill. • The next step is to add some pages to the wizard. First add a Welcome page to the wizard by right- clicking the wizard and selecting the 'Add Welcome Page' menu item. A page with a pre-defined template for a 'Welcome Page' is created. Now add a couple of inner pages by right-clicking on the wizard/page and selecting the 'Add Inner page' menu item. A blank wizard page with a page header is added to the wizard and displayed. The caption, description and header image can be changed if required. The pages can be designed just like you would design any form - by placing child controls on the page. Finally, a Finish page is added by right-clicking on the wizard/page and selecting the 'Add Finish page' menu item. Wizard - Design time support The Wizard control comes with comprehensive design-time support which allows you to completely design your wizard including the content of wizard pages just like you would design a form. Pages can be added, removed and reordered at design-time and their properties can be changed easily. Navigating pages at design time At design-time, the wizard control shows two links - '< Back' and 'Next >' - at the bottom left corner for navigation. Clicking on these links shows the previous or next page of the wizard. You can also use the Page Manager dialog to directly jump to the desired page. Using the Page Manager Dialog The Page Manager allows you at add, remove, modify and reorder pages as well as jump to any page in the wizard.
  • 2. The Page Manager dialog can be shown by clicking on the 'Page Manager...' link shown in the wizard control in the bottom left corner. It can also be shown by right-clicking on the wizard at design-time and clicking the 'Page Manager...' menu item. The Page Manager dialog shows a list of all pages in the wizard page collection, along with command buttons and a property grid for changing page properties. Jumping to a page To jump to a page in the wizard page collection, simply select the page from the page list. The wizard will show that page as the currently selected wizard page. Adding a page To add pages, click on the 'Add Page...' button. A menu will pop up display three choice of pages : Welcome, Inner and Finish page. Select the desired option and the page will be added to the wizard at the end. Removing a page To remove a page from the wizard page collection, select the desired page from the page list and click on the 'Remove' button. Reordering pages To move a page around in the wizard page collection, select the desired page from the page list and click the 'Move Up' or 'Move Down' buttons. Changing page properties To change the properties of a page, select the desired page from the page list. The page properties will be shown in the property grid on the right from where they can be changed. Configuring the wizard and wizard pages. Page navigation control at runtime By default, the wizard navigates through the collection of pages in the order in which they appear in the wizard. You can change this behavior by handling the wizard level or page-level BackButtonClick and NextButtonClick events. When such page jumps are used, the BackTrackingStyle property determines how previous pages are displayed when the Back button is clicked. Using events The *ButtonClick events can be handled at the page level and wizard level. When a button click occurs via the UI or simulated via Perform*ButtonClick methods, the corresponding *ButtonClick event of both the wizard and the currently selected page is raised. When the selected page changes, the BeforeHide and BeforeShow events are raised for the current page, then the AfterHide and AfterShow events are raised for the new page. These events can be handled to cancel the page change. Configuring buttons By default, the wizard atomically enables/disables and shows/hides wizard buttons depending on the type of the currently selected page and its position in the page collection. You can override this by using the *ButtonEnabled and *ButtonVisible properties. To change other properties of buttons such as their captions, you can directly access the buttons using the *Button properties.
  • 3. Conclusion The ShellObjects.Net Wizard control makes it extremely easy to add full features wizard user-interfaces in your applications. The comprehensive design-time support enables quick and easy design and development of the wizard. In addition, the full-featured API allows total customization and control over the features and functionality of the wizard