Class
StyleDialogContext

Represents context for the StyleDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class StyleDialogContext : RadSpreadsheetDialogContext

Inheritance: objectRadSpreadsheetDialogContextStyleDialogContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

StyleDialogContext(RadWorksheetEditor)

Initializes a new instance of the StyleDialogContext class.

Declaration

cs-api-definition
public StyleDialogContext(RadWorksheetEditor worksheetEditor)

Parameters

worksheetEditor

RadWorksheetEditor

The worksheet editor.

StyleDialogContext(RadWorksheetEditor, CellStyle)

Initializes a new instance of the StyleDialogContext class.

Declaration

cs-api-definition
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style)

Parameters

worksheetEditor

RadWorksheetEditor

The worksheet editor.

style

CellStyle

The style.

StyleDialogContext(RadWorksheetEditor, CellStyle, bool)

Initializes a new instance of the StyleDialogContext class.

Declaration

cs-api-definition
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style, bool isDuplicating)

Parameters

worksheetEditor

RadWorksheetEditor

The worksheet editor.

style

CellStyle

The style.

isDuplicating

bool

The value indicating whether the style name is duplicating.

Properties

IsNewStyle

Gets a value indicating whether the style is new.

Declaration

cs-api-definition
public bool IsNewStyle { get; }

Property Value

bool

The value indicating whether the style is new.

Style

Gets the style.

Declaration

cs-api-definition
public CellStyle Style { get; }

Property Value

CellStyle

The style.

StyleName

Gets or sets the name of the style.

Declaration

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

Property Value

string

The name of the style.

Methods

ApplyChanges()

Applies the changes.

Declaration

cs-api-definition
public bool ApplyChanges()

Returns

bool

The value indicating whether the changes were applied successfully.