Represents the content of the accounting category of the number tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class AccountingCategoryContent : CategoryContentBase
Inheritance: objectControlBaseCategoryContentBaseAccountingCategoryContent
Inherited Members
Constructors
Initializes a new instance of the AccountingCategoryContent class.
public AccountingCategoryContent()
Fields
DecimalPlacesProperty
DependencyProperty
Decimal places dependency property.
public static readonly DependencyProperty DecimalPlacesProperty
SelectedCurrencyInfoProperty
DependencyProperty
Selected currency info dependency property.
public static readonly DependencyProperty SelectedCurrencyInfoProperty
Properties
Category
FormatStringCategory
Gets the category.
public override FormatStringCategory Category { get; }
The category.
Overrides:
CurrencyInfos
IEnumerable<CurrencyInfo>
Gets the currency infos.
public IEnumerable<CurrencyInfo> CurrencyInfos { get; }
The currency infos.
Gets or sets the decimal places.
public int DecimalPlaces { get; set; }
The decimal places.
Gets the initial format string.
public override string InitialFormatString { get; }
The initial format string.
Overrides:
SelectedCurrencyInfo
CurrencyInfo
Gets or sets the selected currency info.
public CurrencyInfo SelectedCurrencyInfo { get; set; }
The selected currency info.
Methods
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the window is closed.
public override void OnWindowClosed()
Overrides:
Tries to apply format.
public override bool TryApplyFormat(CellValueFormat format)
The format.
Returns:The value indicating whether the format was successfully applied.
Overrides: