Wizard Class
Represents a Wizard
control.
[ToolboxBitmap(typeof(Wizard))]
public class Wizard : UIContainerControl, IUIControl, IUIElement, ILogicalTreeNode, IDpiAwareElement, IDisposable, ICommandTarget
- Inheritance:
- object MarshalByRefObject Component Control ScrollableControl ContainerControl UIContainerControl object
Remarks
This control is placed on a Form
and docked to Fill
it.
Constructors
Wizard()
Initializes a new instance of the Wizard
class.
public Wizard()
Remarks
The default constructor initializes all fields to their default values.
See Also
Properties
BackButton
Gets the Button instance that is used for the Back button.
[Browsable(false)]
public Button BackButton { get; }
Property Value
Remarks
Use this property to directly access the Button control, allowing for advanced customization.
See Also
BackButtonBackColor
Gets or sets the background color of the Back button.
public Color BackButtonBackColor { get; set; }
Property Value
- Color:
The background color of the Back button.
See Also
BackButtonCausesValidation
Gets or sets a value indicating whether validation is performed when the Back button is clicked.
public bool BackButtonCausesValidation { get; set; }
Property Value
- bool:
true
if validation is performed when the Back button is clicked; otherwise,false
. The default value isfalse
.
See Also
BackButtonEnabled
Gets or sets whether the Back button is currently enabled.
[Browsable(false)]
public bool BackButtonEnabled { get; set; }
Property Value
- bool:
true
if the button is enabled; otherwise,false
.
See Also
BackButtonTabIndex
Gets or sets the tab order of the Back button within its container.
public int BackButtonTabIndex { get; set; }
Property Value
- int:
The tab order of the Back button within its container.
See Also
BackButtonTabStop
Gets or sets whether the Back button has a tab stop.
public bool BackButtonTabStop { get; set; }
Property Value
- bool:
true
if the button has a tab stop; otherwise,false
.
See Also
BackButtonText
Gets or sets the text displayed on the Back button.
public string BackButtonText { get; set; }
Property Value
- string:
The text displayed on the button.
See Also
BackButtonWidth
Gets or sets the width of the Back button.
ButtonFlatStyle
Gets or sets the flat style appearance of the buttons in the wizard.
public FlatStyle ButtonFlatStyle { get; set; }
Property Value
See Also
ButtonHeight
Gets or sets the height of the buttons.
CancelButton
Gets the Button instance that is used for the Cancel button.
[Browsable(false)]
public Button CancelButton { get; }
Property Value
Remarks
Use this property to directly access the Button control, allowing for advanced customization.
See Also
CancelButtonBackColor
Gets or sets the background color of the Cancel button.
public Color CancelButtonBackColor { get; set; }
Property Value
- Color:
The background color of the Cancel button.
See Also
CancelButtonCausesValidation
Gets or sets a value indicating whether validation is performed when the Cancel button is clicked.
public bool CancelButtonCausesValidation { get; set; }
Property Value
- bool:
true
if validation is performed when the Cancel button is clicked; otherwise,false
. The default value isfalse
.
See Also
CancelButtonDialogResult
Gets or sets the DialogResult for the Cancel button.
public DialogResult CancelButtonDialogResult { get; set; }
Property Value
- DialogResult:
The DialogResult for the Cancel button. The default value is
DialogResult.Cancel
.
See Also
CancelButtonEnabled
Gets or sets whether the Cancel button is currently enabled.
[Browsable(false)]
public bool CancelButtonEnabled { get; set; }
Property Value
- bool:
true
if the button is enabled; otherwise,false
.
See Also
CancelButtonTabIndex
Gets or sets the tab order of the Cancel button within its container.
public int CancelButtonTabIndex { get; set; }
Property Value
- int:
The tab order of the Cancel button within its container.
See Also
CancelButtonTabStop
Gets or sets whether the Cancel button has a tab stop.
public bool CancelButtonTabStop { get; set; }
Property Value
- bool:
true
if the button has a tab stop; otherwise,false
.
See Also
CancelButtonText
Gets or sets the text displayed on the Cancel button.
public string CancelButtonText { get; set; }
Property Value
- string:
The text displayed on the button.
See Also
CancelButtonWidth
Gets or sets the width of the Cancel button.
CommandLinks
Gets a CommandLinkCollection containing the command links associated with the object.
[Browsable(false)]
public CommandLinkCollection CommandLinks { get; }
Property Value
- CommandLinkCollection:
A CommandLinkCollection containing the command links associated with the object.
See Also
Controls
Gets the ControlCollection
that contains the child controls of the wizard.
[Browsable(false)]
public Control.ControlCollection Controls { get; }
Property Value
- Control.ControlCollection:
The
ControlCollection
that contains the child controls of the wizard.
See Also
DefaultSize
Gets the default size of the control.
protected override Size DefaultSize { get; }
Property Value
See Also
DisableButtonsDuringPageChange
Gets or sets whether to disable wizard buttons during page changes.
public bool DisableButtonsDuringPageChange { get; set; }
Property Value
- bool:
true
if wizard buttons should be disabled during page changes; otherwise,false
.
Remarks
When a page change occurs, if this property is set to true
, all the buttons are
disabled until the page change is complete. The mouse cursor is also set to a wait cursor
during the page change.
See Also
ExteriorPageBounds
Gets the bounds of exterior pages.
[Browsable(false)]
public Rectangle ExteriorPageBounds { get; }
Property Value
- Rectangle:
A
Rectangle
specifying the bounds of interior pages.
See Also
FinishButton
Gets the Button instance that is used for the Finish button.
[Browsable(false)]
public Button FinishButton { get; }
Property Value
Remarks
Use this property to directly access the Button control, allowing for advanced customization.
See Also
FinishButtonBackColor
Gets or sets the background color of the Finish button.
public Color FinishButtonBackColor { get; set; }
Property Value
- Color:
The background color of the Finish button.
See Also
FinishButtonCausesValidation
Gets or sets a value indicating whether validation is performed when the Finish button is clicked.
public bool FinishButtonCausesValidation { get; set; }
Property Value
- bool:
true
if validation is performed when the Finish button is clicked; otherwise,false
. The default value istrue
.
See Also
FinishButtonDialogResult
Gets or sets the DialogResult for the Finish button.
public DialogResult FinishButtonDialogResult { get; set; }
Property Value
- DialogResult:
The DialogResult for the Finish button. The default value is
DialogResult.OK
.
See Also
FinishButtonDistinct
Gets or sets whether the Finish button should always appear or if it should appear in place of the Next button on Finish pages.
public bool FinishButtonDistinct { get; set; }
Property Value
- bool:
true
if the Finish button should always appear on its own; otherwise,false
.
Remarks
This property should be set to true
for wizards that have pages with the Next and Finish buttons enabled.
Otherwise, the property should be set to false
to adhere to the Wizard97 specification.
See Also
FinishButtonEnabled
Gets or sets whether the Finish button is currently enabled.
[Browsable(false)]
public bool FinishButtonEnabled { get; set; }
Property Value
- bool:
true
if the button is enabled; otherwise,false
.
See Also
FinishButtonTabIndex
Gets or sets the tab order of the Finish button within its container.
public int FinishButtonTabIndex { get; set; }
Property Value
- int:
The tab order of the Finish button within its container.
See Also
FinishButtonTabStop
Gets or sets whether the Finish button has a tab stop.
public bool FinishButtonTabStop { get; set; }
Property Value
- bool:
true
if the button has a tab stop; otherwise,false
.
See Also
FinishButtonText
Gets or sets the text displayed on the Finish button.
public string FinishButtonText { get; set; }
Property Value
- string:
The text displayed on the button.
See Also
FinishButtonWidth
Gets or sets the width of the Finish button.
Font
Gets or sets the Font
to use for text in the control.
[Browsable(true)]
public override Font Font { get; set; }
Property Value
- Font:
The
Font
to use for text in the control.
See Also
FormAcceptButton
Gets or sets the button in the wizard that is clicked when the user presses the ENTER key.
public WizardAcceptButtonDefault FormAcceptButton { get; set; }
Property Value
- WizardAcceptButtonDefault:
A WizardAcceptButtonDefault specifying the accept button for the wizard.
See Also
FormCancelButton
Gets or sets the button in the wizard that is clicked when the user presses the ESCAPE key.
public WizardCancelButtonDefault FormCancelButton { get; set; }
Property Value
- WizardCancelButtonDefault:
A WizardCancelButtonDefault specifying the cancel button for the wizard.
See Also
ForwardCommandsTo
Gets or sets the ICommandTarget to forward commands to.
[Browsable(false)]
public ICommandTarget ForwardCommandsTo { get; set; }
Property Value
- ICommandTarget:
The ICommandTarget to forward commands to.
See Also
HelpButton
Gets the Button instance that is used for the Help button.
[Browsable(false)]
public Button HelpButton { get; }
Property Value
Remarks
Use this property to directly access the Button control, allowing for advanced customization.
See Also
HelpButtonAlignLeft
Gets or sets whether the Help button is aligned to the left side of the wizard.
public bool HelpButtonAlignLeft { get; set; }
Property Value
- bool:
true
if the Help button is aligned to the left side of the wizard; otherwise,false
.
See Also
HelpButtonBackColor
Gets or sets the background color of the Help button.
public Color HelpButtonBackColor { get; set; }
Property Value
- Color:
The background color of the Help button.
See Also
HelpButtonCausesValidation
Gets or sets a value indicating whether validation is performed when the Help button is clicked.
public bool HelpButtonCausesValidation { get; set; }
Property Value
- bool:
true
if validation is performed when the Help button is clicked; otherwise,false
. The default value isfalse
.
See Also
HelpButtonEnabled
Gets or sets whether the Help button is currently enabled.
[Browsable(false)]
public bool HelpButtonEnabled { get; set; }
Property Value
- bool:
true
if the button is enabled; otherwise,false
.
See Also
HelpButtonTabIndex
Gets or sets the tab order of the Help button within its container.
public int HelpButtonTabIndex { get; set; }
Property Value
- int:
The tab order of the Help button within its container.
See Also
HelpButtonTabStop
Gets or sets whether the Help button has a tab stop.
public bool HelpButtonTabStop { get; set; }
Property Value
- bool:
true
if the button has a tab stop; otherwise,false
.
See Also
HelpButtonText
Gets or sets the text displayed on the Help button.
public string HelpButtonText { get; set; }
Property Value
- string:
The text displayed on the button.
See Also
HelpButtonWidth
Gets or sets the width of the Help button.
InteriorPageBounds
Gets the bounds of interior pages.
[Browsable(false)]
public Rectangle InteriorPageBounds { get; }
Property Value
- Rectangle:
A
Rectangle
specifying the bounds of interior pages.
See Also
InteriorPageGuideLineCount
Gets or sets the number of interior page guide lines to display in design-time mode.
public int InteriorPageGuideLineCount { get; set; }
Property Value
- int:
The number of interior page guide lines to display in design-time mode.
Remarks
Set this property to 0
to display no guide lines.
See Also
NextButton
Gets the Button instance that is used for the Next button.
[Browsable(false)]
public Button NextButton { get; }
Property Value
Remarks
Use this property to directly access the Button control, allowing for advanced customization.
See Also
NextButtonBackColor
Gets or sets the background color of the Next button.
public Color NextButtonBackColor { get; set; }
Property Value
- Color:
The background color of the Next button.
See Also
NextButtonCausesValidation
Gets or sets a value indicating whether validation is performed when the Next button is clicked.
public bool NextButtonCausesValidation { get; set; }
Property Value
- bool:
true
if validation is performed when the Next button is clicked; otherwise,false
. The default value istrue
.
See Also
NextButtonEnabled
Gets or sets whether the Next button is currently enabled.
[Browsable(false)]
public bool NextButtonEnabled { get; set; }
Property Value
- bool:
true
if the button is enabled; otherwise,false
.
See Also
NextButtonTabIndex
Gets or sets the tab order of the Next button within its container.
public int NextButtonTabIndex { get; set; }
Property Value
- int:
The tab order of the Next button within its container.
See Also
NextButtonTabStop
Gets or sets whether the Next button has a tab stop.
public bool NextButtonTabStop { get; set; }
Property Value
- bool:
true
if the button has a tab stop; otherwise,false
.
See Also
NextButtonText
Gets or sets the text displayed on the Next button.
public string NextButtonText { get; set; }
Property Value
- string:
The text displayed on the button.
See Also
NextButtonWidth
Gets or sets the width of the Next button.
PageSequenceType
Gets or sets the type of page sequencing to perform.
public WizardPageSequenceType PageSequenceType { get; set; }
Property Value
- WizardPageSequenceType:
A WizardPageSequenceType specifying the type of page sequencing to perform.
See Also
Pages
Gets the collection of pages in the wizard.
public WizardPageCollection Pages { get; }
Property Value
- WizardPageCollection:
A WizardPageCollection representing the pages in the Wizard.
Remarks
This property enables you to obtain a reference to the list of pages that are currently stored
in the Wizard.
With this reference, you can add pages, remove pages, and obtain a count of the pages
in the collection.
For more information on the tasks that can be performed with the Pages
collection,
see the WizardPageCollection class reference topics.
See Also
Renderer
Gets or sets the IWizardRenderer used to render the control.
public IWizardRenderer Renderer { get; set; }
Property Value
- IWizardRenderer:
The IWizardRenderer used to render the control.
See Also
SelectedIndex
Gets or sets the index of the selected item.
[Browsable(false)]
public int SelectedIndex { get; set; }
Property Value
- int:
The index of the selected item. If there are no items in the control, this property returns
-1
.
Remarks
The index is zero-based.
See Also
SelectedPage
Gets or sets the WizardPage that is currently selected.
[Browsable(false)]
public WizardPage SelectedPage { get; set; }
Property Value
- WizardPage:
The WizardPage that is currently selected.
null
is returned if there is no page currently selected.
See Also
UseExtendedDoubleBuffering
Gets or sets whether to use extended double buffering for rendering.
protected override bool UseExtendedDoubleBuffering { get; }
Property Value
- bool:
true
if extended double buffering should be used; otherwise,false
.
See Also
Methods
ArrangeOverride(Size)
Positions child elements and determines an arrange size.
protected override Size ArrangeOverride(Size finalSize)
Parameter | Type | Description |
---|---|---|
finalSize | Size | The final area within the parent that this element should use to arrange itself and its children. |
Returns
- Size:
The actual size used.
Remarks
Element authors should override this method, call Arrange
on each visible child element and position each child element.
It is required that a parent element calls Arrange
on each child or they won't be rendered.
See Also
CreateChildren()
Invoked when the collection of child elements is to be created.
protected override IList CreateChildren()
Returns
Remarks
By default no child collection is created.
See Also
CreateControlsInstance()
Creates a new instance of the control collection for the control.
protected override Control.ControlCollection CreateControlsInstance()
Returns
- Control.ControlCollection:
A new instance of a Control.ControlCollection assigned to the control.
See Also
Dispose(bool)
Disposes any resources used by the object.
protected override void Dispose(bool disposing)
Parameter | Type | Description |
---|---|---|
disposing | bool | Whether the object is being disposed. |
See Also
EndInitialization()
Performs routines that should occur after initialization and is only intended to be called by designer code.
HitTest(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, bool>)
Hit tests to find the IUIElement that contains the specified coordinates.
protected override PointHitTestResult HitTest(PointHitTestParameters hitTestParams, Func<IUIElement, PointHitTestParameters, bool> filter)
Parameter | Type | Description |
---|---|---|
hitTestParams | PointHitTestParameters | A PointHitTestParameters containing hit test parameters. |
filter | Func<IUIElement, PointHitTestParameters, bool> | Optionally defines a filter which must return |
Returns
- PointHitTestResult:
A PointHitTestResult containing the hit test result.
See Also
HitTestRecursive(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, bool>)
Recursively hit tests to find the IUIElement that contains the specified coordinates.
protected override PointHitTestResult HitTestRecursive(PointHitTestParameters hitTestParams, Func<IUIElement, PointHitTestParameters, bool> filter)
Parameter | Type | Description |
---|---|---|
hitTestParams | PointHitTestParameters | A PointHitTestParameters containing hit test parameters. |
filter | Func<IUIElement, PointHitTestParameters, bool> | Optionally defines a filter which must return |
Returns
- PointHitTestResult:
A PointHitTestResult containing the hit test result.
See Also
OnBackButtonClick(WizardPageCancelEventArgs)
Raises the BackButtonClick
event.
protected virtual void OnBackButtonClick(WizardPageCancelEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardPageCancelEventArgs | A WizardPageCancelEventArgs that contains the event data. |
See Also
OnButtonMouseEnter(WizardButtonEventArgs)
Raises the ButtonMouseEnter
event.
protected virtual void OnButtonMouseEnter(WizardButtonEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardButtonEventArgs | A WizardButtonEventArgs that contains the event data. |
See Also
OnButtonMouseLeave(WizardButtonEventArgs)
Raises the ButtonMouseLeave
event.
protected virtual void OnButtonMouseLeave(WizardButtonEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardButtonEventArgs | A WizardButtonEventArgs that contains the event data. |
See Also
OnCancelButtonClick(EventArgs)
Raises the CancelButtonClick
event.
protected virtual void OnCancelButtonClick(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An EventArgs that contains the event data. |
See Also
OnFinishButtonClick(EventArgs)
Raises the FinishButtonClick
event.
protected virtual void OnFinishButtonClick(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An EventArgs that contains the event data. |
See Also
OnHelpButtonClick(EventArgs)
Raises the HelpButtonClick
event.
protected virtual void OnHelpButtonClick(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An EventArgs that contains the event data. |
See Also
OnLayoutButtons(WizardLayoutButtonsEventArgs)
Raises the LayoutButtons
event.
protected virtual void OnLayoutButtons(WizardLayoutButtonsEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardLayoutButtonsEventArgs | An EventArgs that contains the event data. |
See Also
OnMouseDown(MouseEventArgs)
Raises the MouseDown
event.
protected override void OnMouseDown(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | A MouseEventArgs that contains the event data. |
See Also
OnNextButtonClick(WizardPageCancelEventArgs)
Raises the NextButtonClick
event.
protected virtual void OnNextButtonClick(WizardPageCancelEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardPageCancelEventArgs | A WizardPageCancelEventArgs that contains the event data. |
See Also
OnParentChanged(EventArgs)
Raises the ParentChanged
event.
protected override void OnParentChanged(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An EventArgs that contains the event data. |
See Also
OnRender(PaintEventArgs)
Renders the element.
protected override void OnRender(PaintEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
See Also
OnSelectionChanged(EventArgs)
Raises the SelectionChanged
event.
protected virtual void OnSelectionChanged(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An EventArgs that contains the event data. |
See Also
OnSelectionChanging(WizardPageCancelEventArgs)
Raises the SelectionChanging
event.
protected virtual void OnSelectionChanging(WizardPageCancelEventArgs e)
Parameter | Type | Description |
---|---|---|
e | WizardPageCancelEventArgs | A WizardPageCancelEventArgs that contains the event data. |
See Also
OnVisibleChanged(EventArgs)
Raises the VisibleChanged
event.
protected override void OnVisibleChanged(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An |
See Also
PerformBackButtonClick()
Performs a click of the Back button.
PerformCancelButtonClick()
Performs a click of the Cancel button.
PerformFinishButtonClick()
Performs a click of the Finish button.
PerformHelpButtonClick()
Performs a click of the Help button.
PerformNextButtonClick()
Performs a click of the Next button.
ProcessDialogKey(Keys)
Processes a dialog key.
protected override bool ProcessDialogKey(Keys keyData)
Parameter | Type | Description |
---|---|---|
keyData | Keys | One of the Keys values that represents the key to process. |
Returns
- bool:
true
if the key was processed by the control; otherwise,false
.
See Also
ProcessTabKey(bool)
Selects the next available control and makes it the active control.
protected override bool ProcessTabKey(bool forward)
Parameter | Type | Description |
---|---|---|
forward | bool |
|
Returns
- bool:
true
if a control is selected; otherwise,false
.
See Also
RaiseCommand(Command)
Raises the specified Command.
public virtual bool RaiseCommand(Command command)
Parameter | Type | Description |
---|---|---|
command | Command | The Command to raise. |
Returns
See Also
ResetBackButtonBackColor()
Resets the BackButtonBackColor property to its default value.
ResetCancelButtonBackColor()
Resets the CancelButtonBackColor property to its default value.
ResetFinishButtonBackColor()
Resets the FinishButtonBackColor property to its default value.
ResetHelpButtonBackColor()
Resets the HelpButtonBackColor property to its default value.
ResetNextButtonBackColor()
Resets the NextButtonBackColor property to its default value.
ResetRenderer()
Resets the Renderer property to its default value.
ShouldSerializeBackButtonBackColor()
Indicates whether the BackButtonBackColor property should be persisted.
public bool ShouldSerializeBackButtonBackColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
ShouldSerializeCancelButtonBackColor()
Indicates whether the CancelButtonBackColor property should be persisted.
public bool ShouldSerializeCancelButtonBackColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
ShouldSerializeFinishButtonBackColor()
Indicates whether the FinishButtonBackColor property should be persisted.
public bool ShouldSerializeFinishButtonBackColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
ShouldSerializeHelpButtonBackColor()
Indicates whether the HelpButtonBackColor property should be persisted.
public bool ShouldSerializeHelpButtonBackColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
ShouldSerializeNextButtonBackColor()
Indicates whether the NextButtonBackColor property should be persisted.
public bool ShouldSerializeNextButtonBackColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
ShouldSerializePages()
Determines whether the pages collection should be serialized.
public bool ShouldSerializePages()
Returns
- bool:
true
if the pages collection should be serialized; otherwisefalse
.
See Also
ShouldSerializeRenderer()
Indicates whether the Renderer property should be persisted.
public virtual bool ShouldSerializeRenderer()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
See Also
WndProc(ref Message)
Processes Windows messages.
protected override void WndProc(ref Message m)
Parameter | Type | Description |
---|---|---|
m | Message | The Windows Message to process. |
See Also
Events
BackButtonClick
Occurs when the Back button is clicked.
public event WizardPageCancelEventHandler BackButtonClick
Event Type
Remarks
By default, the Wizard will move to the previous WizardPage in the
WizardPageCollection after this event fires. To cancel this behavior, set
the Cancel
property of the event argument to true
. Then you can use
the SelectedPage property to set the WizardPage that should
be displayed.
If the selected page has an event handler for this event, this particular event will not be raised since it will be assumed that the associated page's event handler executed the appropriate code.
See Also
ButtonMouseEnter
Occurs when mouse moves over a wizard button.
public event WizardButtonEventHandler ButtonMouseEnter
Event Type
See Also
ButtonMouseLeave
Occurs when mouse moves out of a wizard button.
public event WizardButtonEventHandler ButtonMouseLeave
Event Type
See Also
CancelButtonClick
Occurs when the Cancel button is clicked.
public event EventHandler CancelButtonClick
Event Type
Remarks
Handlers of this event generally abort any currently-executing processing tasks and
close the Form
containing the Wizard control.
If the selected page has an event handler for this event, this particular event will not be raised since it will be assumed that the associated page's event handler executed the appropriate code.
See Also
FinishButtonClick
Occurs when the Finish button is clicked.
public event EventHandler FinishButtonClick
Event Type
Remarks
Handlers of this event generally finish processing any remaining wizard tasks.
If the selected page has an event handler for this event, this particular event will not be raised since it will be assumed that the associated page's event handler executed the appropriate code.
See Also
HelpButtonClick
Occurs when the Help button is clicked.
public event EventHandler HelpButtonClick
Event Type
Remarks
Handlers of this event generally display help for the currently displayed wizard step.
If the selected page has an event handler for this event, this particular event will not be raised since it will be assumed that the associated page's event handler executed the appropriate code.
See Also
LayoutButtons
Occurs when the wizard's buttons need to be positioned.
public event WizardLayoutButtonsEventHandler LayoutButtons
Event Type
See Also
NextButtonClick
Occurs when the Next button is clicked.
public event WizardPageCancelEventHandler NextButtonClick
Event Type
Remarks
By default, the Wizard will move to the next WizardPage in the
WizardPageCollection after this event fires. To cancel this behavior, set
the Cancel
property of the event argument to true
. Then you can use
the SelectedPage property to set the WizardPage that should
be displayed.
If the selected page has an event handler for this event, this particular event will not be raised since it will be assumed that the associated page's event handler executed the appropriate code.
See Also
SelectionChanged
Occurs after the selected page changes.
public event EventHandler SelectionChanged
Event Type
Remarks
Use this event to perform any processing that should occur after the selected page changes.
See Also
SelectionChanging
Occurs before the selected page changes.
public event WizardPageCancelEventHandler SelectionChanging
Event Type
Remarks
Use this event to perform any processing that should occur before selected page changes.
The Page
property of the event arguments indicates the WizardPage about to be selected.
The selection change may be cancelled by setting the Cancel
property of the event arguments to true
.
See Also
Inherited Members
- UIContainerControl.AddPendingGraphicsInversion(Rectangle)
- UIContainerControl.AddPendingScrollOperation(Rectangle, Orientation, int)
- UIContainerControl.AddPendingScrollOperation(Rectangle, int, int)
- UIContainerControl.AddToInvalidatedRegion()
- UIContainerControl.AddToInvalidatedRegion(Rectangle)
- UIContainerControl.Arrange(Rectangle)
- UIContainerControl.ContainsLocation(Point)
- UIContainerControl.DpiScaleChanged(SizeF)
- UIContainerControl.GetCursor(Point)
- UIContainerControl.Invalidate(InvalidationLevels, InvalidationTypes)
- UIContainerControl.InvalidateArrange()
- UIContainerControl.InvalidateMeasure()
- UIContainerControl.Measure(Graphics, Size)
- UIContainerControl.MeasureOverride(Graphics, Size)
- UIContainerControl.OnClick(EventArgs)
- UIContainerControl.OnDoubleClick(EventArgs)
- UIContainerControl.OnDpiChangedAfterParent(EventArgs)
- UIContainerControl.OnHandleCreated(EventArgs)
- UIContainerControl.OnLayout(LayoutEventArgs)
- UIContainerControl.OnLocationChanged(EventArgs)
- UIContainerControl.OnMouseCaptureChanged(EventArgs)
- UIContainerControl.OnMouseEnter(EventArgs)
- UIContainerControl.OnMouseHover(EventArgs)
- UIContainerControl.OnMouseLeave(EventArgs)
- UIContainerControl.OnMouseMove(MouseEventArgs)
- UIContainerControl.OnMouseUp(MouseEventArgs)
- UIContainerControl.OnMouseWheel(MouseEventArgs)
- UIContainerControl.OnPaint(PaintEventArgs)
- UIContainerControl.OnPaintBackground(PaintEventArgs)
- UIContainerControl.OnParentChanged()
- UIContainerControl.OnRenderChildElements(PaintEventArgs)
- UIContainerControl.OnResize(EventArgs)
- UIContainerControl.OnRightToLeftChanged(EventArgs)
- UIContainerControl.Render(PaintEventArgs)
- UIContainerControl.ResetDoubleBufferCanvas(bool)
- UIContainerControl.ResumePainting()
- UIContainerControl.SuspendPainting()
- UIContainerControl.TransformToAncestor(IUIElement)
- UIContainerControl.TransformToDescendant(IUIElement)
- UIContainerControl.UpdateCursor()
- UIContainerControl.UpdateLayout()
- UIContainerControl.ActualHeight
- UIContainerControl.ActualWidth
- UIContainerControl.BackColor
- UIContainerControl.BackgroundImage
- UIContainerControl.CaptureMouseWhenPressed
- UIContainerControl.ClipBounds
- UIContainerControl.DesiredSize
- UIContainerControl.DpiScaleFactor
- UIContainerControl.ForeColor
- UIContainerControl.IsArrangeValid
- UIContainerControl.IsMeasureValid
- UIContainerControl.IsPaintValid
- UIContainerControl.IsRightToLeft
- UIContainerControl.LastMouseUpButton
- UIContainerControl.PaintingSuspended
- UIContainerControl.UseControlGraphicsForMeasure
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()