ClassStyleDialogContext
Represents context for the StyleDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class StyleDialogContext : RadSpreadsheetDialogContext
Inheritance: objectRadSpreadsheetDialogContextStyleDialogContext
Inherited Members
Constructors
StyleDialogContext(RadWorksheetEditor)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor)
Parameters
worksheetEditor
The worksheet editor.
StyleDialogContext(RadWorksheetEditor, CellStyle)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style)
Parameters
worksheetEditor
The worksheet editor.
style
CellStyle
The style.
StyleDialogContext(RadWorksheetEditor, CellStyle, bool)
Initializes a new instance of the StyleDialogContext class.
Declaration
public StyleDialogContext(RadWorksheetEditor worksheetEditor, CellStyle style, bool isDuplicating)
Parameters
worksheetEditor
The worksheet editor.
style
CellStyle
The style.
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
The value indicating whether the style is new.
Style
Gets the style.
Declaration
public CellStyle Style { get; }
Property Value
CellStyle
The style.
Methods
ApplyChanges()
Applies the changes.
Declaration
public bool ApplyChanges()
Returns
The value indicating whether the changes were applied successfully.