Class
CategoryContentBase

Represents base for the category content classes.

Definition

Constructors

CategoryContentBase()

Declaration

cs-api-definition
protected CategoryContentBase()

Fields

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

DefaultCulture

The default culture.

Declaration

cs-api-definition
protected static readonly CultureInfo DefaultCulture

Field Value

CultureInfo

SampleValueProperty

Sample value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SampleValueProperty

Field Value

DependencyProperty

Properties

Category

Gets the category.

Declaration

cs-api-definition
public abstract FormatStringCategory Category { get; }

Property Value

FormatStringCategory

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.

Info

Gets the info.

Declaration

cs-api-definition
public abstract string Info { get; }

Property Value

string

The info.

InitialFormatString

Gets the initial format string.

Declaration

cs-api-definition
public virtual string InitialFormatString { get; }

Property Value

string

The initial format string.

SampleValue

Gets or sets the sample value.

Declaration

cs-api-definition
public string SampleValue { get; set; }

Property Value

string

The sample value.

Methods

OnCategorySelected()

Called when the category is selected.

Declaration

cs-api-definition
public void OnCategorySelected()

OnCellFormatValueChanged()

Called when the cell format value is changed.

Declaration

cs-api-definition
protected virtual void OnCellFormatValueChanged()

OnWindowClosed()

Called when the window is closed.

Declaration

cs-api-definition
public virtual void OnWindowClosed()

TryApplyFormat(CellValueFormat)

Tries to apply format.

Declaration

cs-api-definition
public abstract bool TryApplyFormat(CellValueFormat format)

Parameters

format

CellValueFormat

The format.

Returns

bool

The value indicating whether the format was successfully applied.