Class FormatCellsDialogContext
Represents context for the the FormatCellsDialog.
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class FormatCellsDialogContext : RadSpreadsheetDialogContext
Constructors
FormatCellsDialogContext(RadSpreadsheet, Nullable<FormatCellsTabType>)
Initializes a new instance of the FormatCellsDialogContext class.
Declaration
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, Nullable<FormatCellsTabType> selectedTabType = null)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
System.Nullable<FormatCellsTabType>
selectedTabType
Type of the selected tab. |
FormatCellsDialogContext(RadSpreadsheet, DifferentialFormatting)
Initializes a new instance of the FormatCellsDialogContext class.
Declaration
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, DifferentialFormatting differentialFormatting)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings.DifferentialFormatting
differentialFormatting
The differential formatting for the condittional formatting. |
FormatCellsDialogContext(RadSpreadsheet, CellStyle)
Initializes a new instance of the FormatCellsDialogContext class.
Declaration
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, CellStyle style)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Windows.Documents.Spreadsheet.PropertySystem.CellStyle
style
The style. |
Properties
Item[FormatCellsTabType]
Gets the IFormatCellsTabContext with the specified tab type.
Declaration
public IFormatCellsTabContext this[FormatCellsTabType tabType] { get; }
Parameters
FormatCellsTabType
tabType
|
Property Value
IFormatCellsTabContext
The context of the tab. |
SelectedTabType
Gets the type of the selected tab.
Declaration
public Nullable<FormatCellsTabType> SelectedTabType { get; }
Property Value
System.Nullable<FormatCellsTabType>
The type of the selected tab. |
Methods
ApplyChanges()
Applies the changes.
Declaration
public void ApplyChanges()