Class WizardDialog
Invokes a dialog that displays a Wizard control.
Inheritance
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[Export(typeof(IWizardDialog))]
[PartCreationPolicy(CreationPolicy.NonShared)]
public class WizardDialog : IWizardDialog
Remarks
The wizard dialog should be imported by MEF using IWizardDialog.
For a detailed description how to create a wizard (which is used as content of this dialog), please see the documentation of the Wizard custom control.
See IWizardDialog for code examples.
Constructors
View SourceWizardDialog(ExportFactory<IContentDialog>)
Creates a new instance of the WizardDialog class.
Declaration
[ImportingConstructor]
public WizardDialog(ExportFactory<IContentDialog> contentDialogExportFactory)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Composition.ExportFactory<IContentDialog> | contentDialogExportFactory | A factory to get instances of the IContentDialog. |
Methods
View SourceShow(WizardDialogArgs)
Shows a message content that visualizes the information of the contentArgs.
Declaration
public void Show(WizardDialogArgs wizardDialogArgs)
Parameters
Type | Name | Description |
---|---|---|
WizardDialogArgs | wizardDialogArgs | Definition of the information shown in the content dialog. |
Remarks
See WizardDialog for remarks and code examples.
Show<TResult>(WizardDialogArgs)
Shows a dialog with the wizard defined in the wizardDialogArgs
.
Declaration
public TResult Show<TResult>(WizardDialogArgs wizardDialogArgs)
Parameters
Type | Name | Description |
---|---|---|
WizardDialogArgs | wizardDialogArgs | The WizardDialogArgs. |
Returns
Type | Description |
---|---|
TResult | The result. |
Type Parameters
Name | Description |
---|---|
TResult | the System.Type of the result. |
Remarks
See WizardDialog for remarks and code examples.