CategoryContentBase
Represents base for the category content classes.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public abstract class CategoryContentBase : ControlBase
Inheritance: objectControlBaseCategoryContentBase
Derived Classes:
Inherited Members
Constructors
protected CategoryContentBase()
Fields
CellValueFormatProperty
DependencyProperty
Cell value format dependency property.
public static readonly DependencyProperty CellValueFormatProperty
CellValueProperty
DependencyProperty
Cell value dependency property.
public static readonly DependencyProperty CellValueProperty
The default culture.
protected static readonly CultureInfo DefaultCulture
SampleValueProperty
DependencyProperty
Sample value dependency property.
public static readonly DependencyProperty SampleValueProperty
Properties
Category
FormatStringCategory
Gets the category.
public abstract FormatStringCategory Category { get; }
The category.
CellValue
ICellValue
Gets or sets the cell value.
public ICellValue CellValue { get; set; }
The cell value.
CellValueFormat
CellValueFormat
Gets or sets the cell value format.
public CellValueFormat CellValueFormat { get; set; }
The cell value format.
Gets the initial format string.
public virtual string InitialFormatString { get; }
The initial format string.
Gets or sets the sample value.
public string SampleValue { get; set; }
The sample value.
Methods
Called when the category is selected.
public void OnCategorySelected()
Called when the cell format value is changed.
protected virtual void OnCellFormatValueChanged()
Called when the window is closed.
public virtual void OnWindowClosed()
Tries to apply format.
public abstract bool TryApplyFormat(CellValueFormat format)
The format.
Returns:The value indicating whether the format was successfully applied.