Telerik UI for Windows Phone by Progress

Shows RadInputPrompt.

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

Syntax

C#
public static void Show(
	Object title,
	MessageBoxButtons buttons = MessageBoxButtons.OK,
	Object message = null,
	InputMode inputMode = InputMode.Text,
	Style inputStyle = null,
	Object checkBoxContent = null,
	bool isCheckBoxChecked = false,
	bool vibrate = true,
	HorizontalAlignment horizontalAlignment = HorizontalAlignment.Stretch,
	VerticalAlignment verticalAlignment = VerticalAlignment.Top,
	Action<InputPromptClosedEventArgs> closedHandler = null,
	Action<KeyEventArgs> keyDownHandler = null
)
Visual Basic
Public Shared Sub Show ( _
	title As Object, _
	Optional buttons As MessageBoxButtons = MessageBoxButtons.OK, _
	Optional message As Object = Nothing, _
	Optional inputMode As InputMode = InputMode.Text, _
	Optional inputStyle As Style = Nothing, _
	Optional checkBoxContent As Object = Nothing, _
	Optional isCheckBoxChecked As Boolean = False, _
	Optional vibrate As Boolean = True, _
	Optional horizontalAlignment As HorizontalAlignment = HorizontalAlignment.Stretch, _
	Optional verticalAlignment As VerticalAlignment = VerticalAlignment.Top, _
	Optional closedHandler As Action(Of InputPromptClosedEventArgs) = Nothing, _
	Optional keyDownHandler As Action(Of KeyEventArgs) = Nothing _
)
Visual C++
public:
static void Show(
	Object^ title, 
	MessageBoxButtons buttons = MessageBoxButtons::OK, 
	Object^ message = nullptr, 
	InputMode inputMode = InputMode::Text, 
	Style^ inputStyle = nullptr, 
	Object^ checkBoxContent = nullptr, 
	bool isCheckBoxChecked = false, 
	bool vibrate = true, 
	HorizontalAlignment horizontalAlignment = HorizontalAlignment::Stretch, 
	VerticalAlignment verticalAlignment = VerticalAlignment::Top, 
	Action<InputPromptClosedEventArgs^>^ closedHandler = nullptr, 
	Action<KeyEventArgs^>^ keyDownHandler = nullptr
)

Parameters

title
Type: System..::..Object
The title of the input prompt.
buttons (Optional)
Type: Telerik.Windows.Controls..::..MessageBoxButtons
The button configuration of RadInputPrompt.
message (Optional)
Type: System..::..Object
The message of the input prompt.
inputMode (Optional)
Type: Telerik.Windows.Controls..::..InputMode
The type of field that is used for input - text or password.
inputStyle (Optional)
Type: System.Windows..::..Style
The style of the input field.
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 whether the checkbox will checked initially.
vibrate (Optional)
Type: System..::..Boolean
Determines if the device will vibrate when the input prompt is shown.
horizontalAlignment (Optional)
Type: System.Windows..::..HorizontalAlignment
The horizontal alignment of the input promt on the device page.
verticalAlignment (Optional)
Type: System.Windows..::..VerticalAlignment
The vertical alignment of the input promt on the device page.
closedHandler (Optional)
Type: System..::..Action<(Of <(<'InputPromptClosedEventArgs>)>)>
A callback that will be invoked when the input prompt closes.
keyDownHandler (Optional)
Type: System..::..Action<(Of <(<'KeyEventArgs>)>)>
A callback that will be invoked when a key is pressed.

See Also