New to Telerik UI for WPFStart a free 30-day trial

Represents context for the the FormatCellsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class FormatCellsDialogContext : RadSpreadsheetDialogContext

Inheritance: objectRadSpreadsheetDialogContextFormatCellsDialogContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

Initializes a new instance of the FormatCellsDialogContext class.

C#
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, CellStyle style)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

styleCellStyle

The style.

Initializes a new instance of the FormatCellsDialogContext class.

C#
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, DifferentialFormatting differentialFormatting)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

differentialFormattingDifferentialFormatting

The differential formatting for the condittional formatting.

Initializes a new instance of the FormatCellsDialogContext class.

C#
public FormatCellsDialogContext(RadSpreadsheet radSpreadsheet, FormatCellsTabType? selectedTabType = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

selectedTabTypeFormatCellsTabType?

Type of the selected tab.

Properties

Gets the type of the selected tab.

C#
public FormatCellsTabType? SelectedTabType { get; }
Property Value:

The type of the selected tab.

Gets the IFormatCellsTabContext with the specified tab type.

C#
public IFormatCellsTabContext this[FormatCellsTabType tabType] { get; }
Parameters:tabTypeFormatCellsTabTypeProperty Value:

The context of the tab.

Methods

Applies the changes.

C#
public void ApplyChanges()