ClassDialogParameters
Structure that holds all parameters for customizing dialog window.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class DialogParameters
Inheritance: objectDialogParameters
Constructors
DialogParameters()
Initializes a new instance of the DialogParameters class.
Declaration
public DialogParameters()
Properties
CancelButtonContent
Gets or sets the content in the Cancel button.
Declaration
public object CancelButtonContent { get; set; }
Property Value
The content in the Cancel button.
Closed
Gets or sets the method that will be called when the Closed event of the Window is fired.
Declaration
public EventHandler<WindowClosedEventArgs> Closed { get; set; }
Property Value
EventHandler<WindowClosedEventArgs>
The method that will be called when the Closed event of the Window is fired.
Content
Gets or sets the content to be displayed.
Declaration
public object Content { get; set; }
Property Value
The content to be displayed.
ContentStyle
The style to be applied to the dialog box content. This should be Style for one of the RadAlert, RadConfirm or RadPrompt classes.
Declaration
public Style ContentStyle { get; set; }
Property Value
Style
DefaultFocusedButton
Sets the default focused response button type in the dialog window. If button with such response type is present in the ControlTemplate of the dialog it will be initially focused. If button with such response type is not present - the dialog will be initially focused.
By default:
- RadAlert has the Accept button focused.
- RadPrompt doesn't have focused button.
- RadConfirm has the Accept button focused.
Declaration
public ResponseButton? DefaultFocusedButton { get; set; }
Property Value
DefaultPromptResultValue
Gets or sets the default prompt result value shown in the Prompt dialog window.
Declaration
public string DefaultPromptResultValue { get; set; }
Property Value
DialogStartupLocation
Gets or sets a WindowStartupLocation value for the predefined dialogs.
Declaration
public WindowStartupLocation DialogStartupLocation { get; set; }
Property Value
WindowStartupLocation
Header
Gets or sets the object to appear in the title bar.
Declaration
public object Header { get; set; }
Property Value
The object to appear in the title bar.
IconContent
Gets or sets the content of the icon area in the title bar.
Declaration
public object IconContent { get; set; }
Property Value
The content of the icon area in the title bar.
IconTemplate
Gets or sets the DataTemplate of ContentPresenter of the icon area in the dialog.
Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
DataTemplate
The the DataTemplate of ContentPresenter of the icon area in the dialog.
Left
Gets or sets a value that represents the distance between the left of an element and the left side of the page.
LeftOffset
Gets or sets an offset value for the Left position in case of
OkButtonContent
Gets or sets the content in the OK button.
Declaration
public object OkButtonContent { get; set; }
Property Value
The content in the OK button.
Opened
Gets or sets the method that will be called when the Opened event of the Window is fired.
Declaration
public EventHandler Opened { get; set; }
Property Value
The method that will be called when the Opened event of the Window is fired.
Owner
Gets or sets the Owner of the RadWindow.
Declaration
public ContentControl Owner { get; set; }
Property Value
ContentControl
Theme
Gets or sets the theme to be applied on the dialog window.
Top
Gets or sets a value that represents the distance between the top of an element and the top of the page.
TopOffset
Gets or sets an offset value for the Top position in case of
WindowStyle
The style to be applied to the RadWindow that will host the dialog box. This should be Style for the RadWindow class.
Declaration
public Style WindowStyle { get; set; }
Property Value
Style