Class
NumberTabContent

Represents the content of the number tab of the FormatCellsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class NumberTabContent : FormatCellsTabContentBase<INumberTabContext>, IFormatCellsTabContent<INumberTabContext>, IFormatCellsTabContent

Inheritance: objectControlBaseFormatCellsTabContentBase<INumberTabContext>NumberTabContent

Implements: IFormatCellsTabContentIFormatCellsTabContent<INumberTabContext>

Inherited Members FormatCellsTabContentBase<INumberTabContext>.CopyPropertiesToContext(IFormatCellsTabContext)FormatCellsTabContentBase<INumberTabContext>.CopyPropertiesFromContext(IFormatCellsTabContext)FormatCellsTabContentBase<INumberTabContext>.OnApplyingChanges()FormatCellsTabContentBase<INumberTabContext>.IsPreventApplyingChangesControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

NumberTabContent()

Initializes a new instance of the NumberTabContent class.

Declaration

cs-api-definition
public NumberTabContent()

Fields

CategoriesProperty

Categories dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CategoriesProperty

Field Value

DependencyProperty

CategoryContentProperty

Category content dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CategoryContentProperty

Field Value

DependencyProperty

CellValueFormatProperty

Cell value format dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellValueFormatProperty

Field Value

DependencyProperty

CellValueProperty

Cell value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellValueProperty

Field Value

DependencyProperty

SelectedCategoryProperty

Selected category dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedCategoryProperty

Field Value

DependencyProperty

Properties

Categories

Gets or sets the categories.

Declaration

cs-api-definition
public FormatStringCategory[] Categories { get; set; }

Property Value

FormatStringCategory[]

The categories.

CategoryContent

Gets or sets the content of the category.

Declaration

cs-api-definition
public Control CategoryContent { get; set; }

Property Value

Control

The content of the category.

CellValue

Gets or sets the cell value.

Declaration

cs-api-definition
public ICellValue CellValue { get; set; }

Property Value

ICellValue

The cell value.

CellValueFormat

Gets or sets the cell value format.

Declaration

cs-api-definition
public CellValueFormat CellValueFormat { get; set; }

Property Value

CellValueFormat

The cell value format.

SelectedCategory

Gets or sets the selected category.

Declaration

cs-api-definition
public FormatStringCategory? SelectedCategory { get; set; }

Property Value

FormatStringCategory?

The selected category.

Methods

CopyPropertiesFromContext(INumberTabContext)

Copies the properties from context.

Declaration

cs-api-definition
public override void CopyPropertiesFromContext(INumberTabContext context)

Parameters

context

INumberTabContext

The context.

Overrides FormatCellsTabContentBase<INumberTabContext>.CopyPropertiesFromContext(INumberTabContext)

CopyPropertiesToContext(INumberTabContext)

Copies the properties to context.

Declaration

cs-api-definition
public override void CopyPropertiesToContext(INumberTabContext context)

Parameters

context

INumberTabContext

The context.

Overrides FormatCellsTabContentBase<INumberTabContext>.CopyPropertiesToContext(INumberTabContext)

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnWindowClosed()

Called when the window is closed.

Declaration

cs-api-definition
public override void OnWindowClosed()

Overrides FormatCellsTabContentBase<INumberTabContext>.OnWindowClosed()