Class DialogParameters
Structure that holds all parameters for customizing dialog window.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class DialogParameters : Object
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
System.Object
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
System.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
System.Object
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
System.Windows.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 Nullable<ResponseButton> DefaultFocusedButton { get; set; }
Property Value
System.Nullable<ResponseButton>
|
DefaultPromptResultValue
Gets or sets the default prompt result value shown in the Prompt dialog window.
Declaration
public string DefaultPromptResultValue { get; set; }
Property Value
System.String
|
DialogStartupLocation
Gets or sets a WindowStartupLocation value for the predefined dialogs.
Declaration
public WindowStartupLocation DialogStartupLocation { get; set; }
Property Value
System.Windows.WindowStartupLocation
|
Header
Gets or sets the object to appear in the title bar.
Declaration
public object Header { get; set; }
Property Value
System.Object
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
System.Object
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
System.Windows.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.
Declaration
public double Left { get; set; }
Property Value
System.Double
|
LeftOffset
Gets or sets an offset value for the Left position in case of
Declaration
public double LeftOffset { get; set; }
Property Value
System.Double
|
ModalBackground
Gets or sets the modal background of a dialog window.
Declaration
public Brush ModalBackground { get; set; }
Property Value
System.Windows.Media.Brush
The modal background. |
OkButtonContent
Gets or sets the content in the OK button.
Declaration
public object OkButtonContent { get; set; }
Property Value
System.Object
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
System.EventHandler
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
System.Windows.Controls.ContentControl
|
Theme
Gets or sets the theme to be applied on the dialog window.
Declaration
public Theme Theme { get; set; }
Property Value
Theme
|
Top
Gets or sets a value that represents the distance between the top of an element and the top of the page.
Declaration
public double Top { get; set; }
Property Value
System.Double
|
TopOffset
Gets or sets an offset value for the Top position in case of
Declaration
public double TopOffset { get; set; }
Property Value
System.Double
|
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
System.Windows.Style
|