Class CustomCategoryContent
Represents the content of the Custom category of the Number tab.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class CustomCategoryContent : CategoryContentBase
Constructors
CustomCategoryContent()
Initializes a new instance of the CustomCategoryContent class.
Declaration
public CustomCategoryContent()
Fields
SelectedFormatStringProperty
Selected format string dependency property.
Declaration
public static readonly DependencyProperty SelectedFormatStringProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Category
Gets the category.
Declaration
public override FormatStringCategory Category { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.FormatStringCategory
The category. |
Overrides
FormatStrings
Gets the format strings.
Declaration
public ObservableCollection<string> FormatStrings { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.String>
The format strings. |
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
SelectedFormatString
Gets or sets the selected format string.
Declaration
public string SelectedFormatString { get; set; }
Property Value
System.String
The selected format string. |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCellFormatValueChanged()
Called when the cell format value is changed.
Declaration
protected override void OnCellFormatValueChanged()
Overrides
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(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
Telerik.Windows.Documents.Spreadsheet.Model.CellValueFormat
format
The format. |
Returns
System.Boolean
The value indicating whether the format was successfully applied. |