Class MessageDialogContextBase
Represents a base class for the message dialogs.
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class MessageDialogContextBase : RadSpreadsheetDialogContext
Constructors
MessageDialogContextBase(RadSpreadsheet, String, String, EventHandler<WindowClosedEventArgs>)
Initializes a new instance of the WarningDialogContext class.
Declaration
protected MessageDialogContextBase(RadSpreadsheet radSpreadsheet, string header, string content, EventHandler<WindowClosedEventArgs> closedEventHandler)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
System.String
header
The header of the dialog. |
System.String
content
The content of the dialog. |
System.EventHandler<WindowClosedEventArgs>
closedEventHandler
The closed event handler. |
Properties
Content
Gets or sets the content of the dialog.
Declaration
public string Content { get; set; }
Property Value
System.String
The content. |
Header
Gets or sets the header of the dialog.
Declaration
public string Header { get; set; }
Property Value
System.String
The header. |
Methods
ApplyChanges(Object, Nullable<Boolean>)
Applies the changes.
Declaration
public void ApplyChanges(object sender, Nullable<bool> dialogResult)
Parameters
System.Object
sender
The sender. |
System.Nullable<System.Boolean>
dialogResult
The dialog result. |