Class
GeneralCategoryContent

Represents the content of the general category of the number tab of the FormatCellsDialog.

Definition

Constructors

GeneralCategoryContent()

Initializes a new instance of the GeneralCategoryContent class.

Declaration

cs-api-definition
public GeneralCategoryContent()

Properties

Category

Gets the category.

Declaration

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

Property Value

FormatStringCategory

The category.

Overrides CategoryContentBase.Category

Info

Gets the info.

Declaration

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

Property Value

string

The info.

Overrides CategoryContentBase.Info

InitialFormatString

Gets the initial format string.

Declaration

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

Property Value

string

The initial format string.

Overrides CategoryContentBase.InitialFormatString

Methods

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.

TryApplyFormat(CellValueFormat)

Tries to apply format.

Declaration

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

Parameters

format

CellValueFormat

The format.

Returns

bool

The value indicating whether the format was successfully applied.

Overrides CategoryContentBase.TryApplyFormat(CellValueFormat)