DialogParameters
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
Initializes a new instance of the DialogParameters class.
public DialogParameters()
Properties
Gets or sets the content in the Cancel button.
public object CancelButtonContent { get; set; }
The content in the Cancel button.
Gets or sets the method that will be called when the Closed event of the Window is fired.
public EventHandler<WindowClosedEventArgs> Closed { get; set; }
The method that will be called when the Closed event of the Window is fired.
Gets or sets the content to be displayed.
public object Content { get; set; }
The content to be displayed.
ContentStyle
Style
The style to be applied to the dialog box content. This should be Style for one of the RadAlert, RadConfirm or RadPrompt classes.
public Style ContentStyle { get; set; }
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.
public ResponseButton? DefaultFocusedButton { get; set; }
Gets or sets the default prompt result value shown in the Prompt dialog window.
public string DefaultPromptResultValue { get; set; }
DialogStartupLocation
WindowStartupLocation
Gets or sets a WindowStartupLocation value for the predefined dialogs.
public WindowStartupLocation DialogStartupLocation { get; set; }
Gets or sets the object to appear in the title bar.
public object Header { get; set; }
The object to appear in the title bar.
Gets or sets the content of the icon area in the title bar.
public object IconContent { get; set; }
The content of the icon area in the title bar.
IconTemplate
DataTemplate
Gets or sets the DataTemplate of ContentPresenter of the icon area in the dialog.
public DataTemplate IconTemplate { get; set; }
The the DataTemplate of ContentPresenter of the icon area in the dialog.
Gets or sets a value that represents the distance between the left of an element and the left side of the page.
public double Left { get; set; }
Gets or sets an offset value for the Left position in case of
public double LeftOffset { get; set; }
Gets or sets the content in the OK button.
public object OkButtonContent { get; set; }
The content in the OK button.
Gets or sets the method that will be called when the Opened event of the Window is fired.
public EventHandler Opened { get; set; }
The method that will be called when the Opened event of the Window is fired.
Owner
ContentControl
Gets or sets the Owner of the RadWindow.
public ContentControl Owner { get; set; }
Gets or sets the theme to be applied on the dialog window.
public Theme Theme { get; set; }
Gets or sets a value that represents the distance between the top of an element and the top of the page.
public double Top { get; set; }
Gets or sets an offset value for the Top position in case of
public double TopOffset { get; set; }
WindowStyle
Style
The style to be applied to the RadWindow that will host the dialog box. This should be Style for the RadWindow class.
public Style WindowStyle { get; set; }