Class RadAlert
RadAlert notifies the user according to its invocation parameters.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadAlert : ContentControl
Constructors
RadAlert()
Initializes a new instance of the RadAlert class.
Declaration
public RadAlert()
Fields
IconTemplateProperty
Identifies the IconTemplate dependency property.
Declaration
public static readonly DependencyProperty IconTemplateProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DialogParams
Gets or sets the dialog parameters, used for initializing the alert.
Declaration
public DialogParameters DialogParams { get; }
Property Value
DialogParameters
|
IconTemplate
Gets or sets the DataTemplate of ContentPresenter that represents the icon area in the dialog.
Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ParentWindow
Gets or sets the window that hosts the alert.
Declaration
protected RadWindow ParentWindow { get; }
Property Value
RadWindow
The parent window. |
Methods
Configure(RadWindow, DialogParameters)
Configures RadAlert according to the RadWindow.
Declaration
public virtual void Configure(RadWindow window, DialogParameters pars)
Parameters
RadWindow
window
RadWindow in which the RadPrompt will appear. |
DialogParameters
pars
Structure that holds all possible parameters for customizing dialog window. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnOk(EventArgs)
Raises the Ok event.
Declaration
protected virtual void OnOk(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
SetupBindingsAndCommands()
This method is called just after the template is applied and is meant to setup the Ok and Cancel buttons. It should be removed for Q3 2011.
Declaration
protected virtual void SetupBindingsAndCommands()
Events
Ok
Occurs when the user presses the accept button.
Declaration
public event EventHandler Ok
Event Type
System.EventHandler
|