Class StyleDialogContext
Represents context for the StyleDialog.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.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. |
Telerik.Windows.Documents.Spreadsheet.PropertySystem.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. |
Telerik.Windows.Documents.Spreadsheet.PropertySystem.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
Gets the style.
Declaration
public CellStyle Style { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.PropertySystem.CellStyle
The 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. |