ClassRadConfirm
Represents a dialog that prompts the user for confirmation, allowing the user
to either proceed with the action or cancel it. Inherits from the RadAlert
class and provides additional functionality like customizable margins for the
content area and the ability to handle user-triggered cancel events. The dialog
features dedicated buttons for "Ok" and "Cancel," and supports configuration
parameters that allow further customization of the dialog appearance and behavior
when shown within a RadWindow.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadConfirm : RadAlert
Inheritance: objectRadAlertRadConfirm
Derived Classes:
Inherited Members
Constructors
RadConfirm()
Initializes a new instance of the RadConfirm class.
Declaration
public RadConfirm()
Fields
ContentAreaMarginProperty
Identifies the ContentAreaMargin dependency property.
Declaration
public static readonly DependencyProperty ContentAreaMarginProperty
Field Value
DependencyProperty
Properties
ContentAreaMargin
Gets or sets the Margin of ContentPresenter that represents the content area in the dialog.
Declaration
public Thickness ContentAreaMargin { get; set; }
Property Value
Thickness
Methods
Configure(RadWindow, DialogParameters)
Configures RadConfirm according to the RadWindow specified.
Declaration
public override void Configure(RadWindow window, DialogParameters pars)
Parameters
window
RadWindow in which the RadConfirm will appear.
pars
Structure that holds all possible parameters for customizing dialog window.
Overrides
OnCancel(EventArgs)
Raises the event.
OnInitialized(EventArgs)
Raises the event and sets from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
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 override void SetupBindingsAndCommands()
Overrides
Events
Cancel
Occurs when the user presses the cancel button.