Represents the content of the number category of the number tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class NumberCategoryContent : CategoryContentBase
Inheritance: objectControlBaseCategoryContentBaseNumberCategoryContent
Inherited Members
Constructors
Initializes a new instance of the NumberCategoryContent class.
public NumberCategoryContent()
Fields
DecimalPlacesProperty
DependencyProperty
Decimal places dependency property.
public static readonly DependencyProperty DecimalPlacesProperty
SelectedNumberItemProperty
DependencyProperty
Selected number item dependency property.
public static readonly DependencyProperty SelectedNumberItemProperty
UseThousandSeparatorProperty
DependencyProperty
Use thousand separator dependency property.
public static readonly DependencyProperty UseThousandSeparatorProperty
Properties
Category
FormatStringCategory
Gets the category.
public override FormatStringCategory Category { get; }
The category.
Overrides:
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.
Gets or sets the selected number item.
public NumberItem SelectedNumberItem { get; set; }
The selected number item.
Gets or sets a value indicating if a thousand separator will be used.
public bool UseThousandSeparator { get; set; }
The value indicating if a thousand separator will be used.
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: