Class StyleDialogContext
Represents context for the StyleDialog.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class StyleDialogContext : RadSpreadsheetDialogContext
Constructors
StyleDialogContext(RadWorksheetEditor)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor)
Parameters
RadWorksheetEditor
worksheetEditor
The worksheet editor. |
StyleDialogContext(RadWorksheetEditor, CellStyle)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style)
Parameters
RadWorksheetEditor
worksheetEditor
The worksheet editor. |
CellStyle
style
The style. |
StyleDialogContext(RadWorksheetEditor, CellStyle, Boolean)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style, bool isDuplicating)
Parameters
RadWorksheetEditor
worksheetEditor
The worksheet editor. |
CellStyle
style
The style. |
System.Boolean
isDuplicating
The value indicating whether the style name is duplicating. |
Properties
IsNewStyle
Gets a value indicating whether the style is new.
Declaration
public bool IsNewStyle { get; }
Property Value
System.Boolean
The value indicating whether the style is new. |
Style
StyleName
Gets or sets the name of the style.
Declaration
public string StyleName { get; set; }
Property Value
System.String
The name of the style. |
Methods
ApplyChanges()
Applies the changes.
Declaration
public bool ApplyChanges()
Returns
System.Boolean
The value indicating whether the changes were applied successfully. |