Class NumberCategoryContent
Represents the content of the number category of the number tab of the FormatCellsDialog.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class NumberCategoryContent : CategoryContentBase, INotifyPropertyChanged
Constructors
NumberCategoryContent()
Initializes a new instance of the NumberCategoryContent class.
Declaration
public NumberCategoryContent()
Properties
Category
Gets the category.
Declaration
public override FormatStringCategory Category { get; }
Property Value
FormatStringCategory
The category. |
Overrides
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
NumberItems
Gets the number items.
Declaration
public ObservableCollection<NumberItem> NumberItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<NumberItem>
The number items. |
SelectedNumberItem
Gets or sets the selected number item.
Declaration
public NumberItem SelectedNumberItem { get; set; }
Property Value
NumberItem
The selected number item. |
UseThousandSeparator
Gets or sets a value indicating if a thousand separator will be used.
Declaration
public bool UseThousandSeparator { get; set; }
Property Value
System.Boolean
The value indicating if a thousand separator will be used. |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs
e
|
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
CellValueFormat
format
The format. |
Returns
System.Boolean
The value indicating whether the format was successfully applied. |