ShowOkCancel Method

WorkflowElementDialog.ShowOkCancel Method ()

.NET Framework (current version)
 

Displays the dialog with OK and Cancel buttons and returns after the dialog is closed.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public bool ShowOkCancel()

Return Value

Type: System.Boolean

true if the user accepted the dialog; false if the user cancelled the dialog.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft