ClassCurrencyCategoryContent
Represents the content of the currency category of the number tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CurrencyCategoryContent : CategoryContentBase
Inheritance: objectControlBaseCategoryContentBaseCurrencyCategoryContent
Inherited Members
Constructors
CurrencyCategoryContent()
Initializes a new instance of the CurrencyCategoryContent class.
Declaration
public CurrencyCategoryContent()
Fields
DecimalPlacesProperty
Decimal places dependency property.
Declaration
public static readonly DependencyProperty DecimalPlacesProperty
Field Value
DependencyProperty
SelectedCurrencyInfoProperty
Selected currency info dependency property.
Declaration
public static readonly DependencyProperty SelectedCurrencyInfoProperty
Field Value
DependencyProperty
SelectedNumberItemProperty
Selected number item dependency property.
Declaration
public static readonly DependencyProperty SelectedNumberItemProperty
Field Value
DependencyProperty
Properties
Category
Gets the category.
Declaration
public override FormatStringCategory Category { get; }
Property Value
FormatStringCategory
The category.
Overrides
CurrencyInfos
Gets the currency infos.
Declaration
public IEnumerable<CurrencyInfo> CurrencyInfos { get; }
Property Value
IEnumerable<CurrencyInfo>
The currency infos.
DecimalPlaces
Gets or sets the decimal places.
Declaration
public int DecimalPlaces { get; set; }
Property Value
The decimal places.
Info
Gets the info.
Declaration
public override string Info { get; }
Property Value
The info.
Overrides
InitialFormatString
Gets the initial format string.
Declaration
public override string InitialFormatString { get; }
Property Value
The initial format string.
Overrides
NumberItems
Gets the number items.
Declaration
public ObservableCollection<NumberItem> NumberItems { get; }
Property Value
ObservableCollection<NumberItem>
The number items.
SelectedCurrencyInfo
Gets or sets the selected currency info.
Declaration
public CurrencyInfo SelectedCurrencyInfo { get; set; }
Property Value
CurrencyInfo
The selected currency info.
SelectedNumberItem
Gets or sets the selected number item.
Declaration
public NumberItem SelectedNumberItem { get; set; }
Property Value
The selected number item.
Methods
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The 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
format
CellValueFormat
The format.
Returns
The value indicating whether the format was successfully applied.
Overrides