Telerik UI for Windows Phone by Progress

Shows RadMessageBox.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Primitives (in Telerik.Windows.Controls.Primitives.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)


public static void Show(
	ControlTemplate template,
	Object title,
	IEnumerable<Object> buttonsContent,
	Object message = null,
	Object checkBoxContent = null,
	bool isCheckBoxChecked = false,
	bool vibrate = false,
	HorizontalAlignment horizontalAlignment = HorizontalAlignment.Stretch,
	VerticalAlignment verticalAlignment = VerticalAlignment.Top,
	Action<MessageBoxClosedEventArgs> closedHandler = null
Visual Basic
Public Shared Sub Show ( _
	template As ControlTemplate, _
	title As Object, _
	buttonsContent As IEnumerable(Of Object), _
	Optional message As Object = Nothing, _
	Optional checkBoxContent As Object = Nothing, _
	Optional isCheckBoxChecked As Boolean = False, _
	Optional vibrate As Boolean = False, _
	Optional horizontalAlignment As HorizontalAlignment = HorizontalAlignment.Stretch, _
	Optional verticalAlignment As VerticalAlignment = VerticalAlignment.Top, _
	Optional closedHandler As Action(Of MessageBoxClosedEventArgs) = Nothing _
Visual C++
static void Show(
	ControlTemplate^ template, 
	Object^ title, 
	IEnumerable<Object^>^ buttonsContent, 
	Object^ message = nullptr, 
	Object^ checkBoxContent = nullptr, 
	bool isCheckBoxChecked = false, 
	bool vibrate = false, 
	HorizontalAlignment horizontalAlignment = HorizontalAlignment::Stretch, 
	VerticalAlignment verticalAlignment = VerticalAlignment::Top, 
	Action<MessageBoxClosedEventArgs^>^ closedHandler = nullptr


Type: System.Windows.Controls..::..ControlTemplate
A control template that will completely changed the look and feel of the message box.
Type: System..::..Object
The title of the message box.
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Object>)>)>
An enumerable of objects that will be used as the contents of the buttons in the message box.
message (Optional)
Type: System..::..Object
The message of the message box.
checkBoxContent (Optional)
Type: System..::..Object
Determines the content of the checkbox. A null value hides the check box and a non-null value shows it.
isCheckBoxChecked (Optional)
Type: System..::..Boolean
Determines if the checkbox will checked initially or not.
vibrate (Optional)
Type: System..::..Boolean
Determines if the device will vibrate when the message box is shown.
horizontalAlignment (Optional)
Type: System.Windows..::..HorizontalAlignment
The horizontal alignment of the message box on the device page.
verticalAlignment (Optional)
Type: System.Windows..::..VerticalAlignment
The vertical alignment of the message box on the device page.
closedHandler (Optional)
Type: System..::..Action<(Of <(<'MessageBoxClosedEventArgs>)>)>
A callback that will be invoked when the message box closes.

See Also