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
Initializes a new instance of the CurrencyCategoryContent class.
public CurrencyCategoryContent()
Fields
DecimalPlacesProperty
DependencyProperty
Decimal places dependency property.
public static readonly DependencyProperty DecimalPlacesProperty
SelectedCurrencyInfoProperty
DependencyProperty
Selected currency info dependency property.
public static readonly DependencyProperty SelectedCurrencyInfoProperty
SelectedNumberItemProperty
DependencyProperty
Selected number item dependency property.
public static readonly DependencyProperty SelectedNumberItemProperty
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:
Gets the number items.
public ObservableCollection<NumberItem> NumberItems { get; }
The number items.
SelectedCurrencyInfo
CurrencyInfo
Gets or sets the selected currency info.
public CurrencyInfo SelectedCurrencyInfo { get; set; }
The selected currency info.
Gets or sets the selected number item.
public NumberItem SelectedNumberItem { get; set; }
The selected number item.
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: