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

Represents base for the format tab context classes.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public abstract class FormatCellsTabContextBase : IFormatCellsTabContext

Inheritance: objectFormatCellsTabContextBase

Derived Classes: AlignmentTabContextBaseBorderTabContextBaseFillTabContextBaseFontTabContextBaseNumberTabContextBaseProtectionTabContextBase...

Implements: IFormatCellsTabContext

Constructors

Initializes a new instance of the FormatCellsTabContextBase class.

C#
protected FormatCellsTabContextBase(RadSpreadsheet radSpreadsheet, CellStyle cellStyle = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

cellStyleCellStyle

The cell style.

Initializes a new instance of the FormatCellsTabContextBase class.

C#
protected FormatCellsTabContextBase(RadSpreadsheet radSpreadsheet, DifferentialFormatting differentialFormatting = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

differentialFormattingDifferentialFormatting

The differential formatting for the condittional formatting.

Properties

CellStyle

CellStyle

Gets the cell style.

C#
public CellStyle CellStyle { get; }
Property Value:

The cell style.

Gets the RadSpreadsheet.

C#
public RadSpreadsheet RadSpreadsheet { get; }
Property Value:

The RadSpreadsheet.

Implements: IFormatCellsTabContext.RadSpreadsheet

Visibility

Visibility

Gets or sets the visibility.

C#
public Visibility Visibility { get; set; }
Property Value:

The visibility.

Implements: IFormatCellsTabContext.Visibility

Gets the worksheet editor.

C#
public RadWorksheetEditor WorksheetEditor { get; }
Property Value:

The worksheet editor.

Methods

Applies the changes from context.

C#
public void ApplyChangesFromContext()

Implements: IFormatCellsTabContext.ApplyChangesFromContext()

Applies the changes from context override.

C#
protected abstract void ApplyChangesFromContextOverride()

Initializes the context override.

C#
protected abstract void InitContextOverride()

Called when a property is changed.

C#
protected void OnPropertyChanged()

Resumes the property change notification.

C#
protected void ResumePropertyChangeNotification()

Suspends the property change notification.

C#
protected void SuspendPropertyChangeNotification()