Class
MessageDialogContextBase

Represents a base class for the message dialogs.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class MessageDialogContextBase : RadSpreadsheetDialogContext

Inheritance: objectRadSpreadsheetDialogContextMessageDialogContextBase

Derived Classes: AlertDialogContextConfirmDialogContextInformationDialogContextStopDialogContextWarningDialogContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

MessageDialogContextBase(RadSpreadsheet, string, string, EventHandler<WindowClosedEventArgs>)

Initializes a new instance of the WarningDialogContext class.

Declaration

cs-api-definition
protected MessageDialogContextBase(RadSpreadsheet radSpreadsheet, string header, string content, EventHandler<WindowClosedEventArgs> closedEventHandler)

Parameters

radSpreadsheet

RadSpreadsheet

The RadSpreadsheet.

header

string

The header of the dialog.

content

string

The content of the dialog.

closedEventHandler

EventHandler<WindowClosedEventArgs>

The closed event handler.

Properties

Content

Gets or sets the content of the dialog.

Declaration

cs-api-definition
public string Content { get; set; }

Property Value

string

The content.

Header

Gets or sets the header of the dialog.

Declaration

cs-api-definition
public string Header { get; set; }

Property Value

string

The header.

Methods

ApplyChanges(object, bool?)

Applies the changes.

Declaration

cs-api-definition
public void ApplyChanges(object sender, bool? dialogResult)

Parameters

sender

object

The sender.

dialogResult

bool?

The dialog result.