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