Export (0) Print
Expand All

HtmlWindow.Confirm Method

Silverlight

Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public bool Confirm(
	string confirmText
)

Parameters

confirmText
Type: System.String
The text to display.

Return Value

Type: System.Boolean
true if the user clicked the OK button; otherwise, false.

See the confirm method in the dynamic HTML (DHTML) documentation for information about the JavaScript confirm method.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft