ClassFractionCategoryContent
Represents the content of the fraction category of the number tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class FractionCategoryContent : CategoryContentBase
Inheritance: objectControlBaseCategoryContentBaseFractionCategoryContent
Inherited Members
Constructors
FractionCategoryContent()
Initializes a new instance of the FractionCategoryContent class.
Declaration
public FractionCategoryContent()
Fields
SelectedFormatProperty
Selected format dependency property.
Declaration
public static readonly DependencyProperty SelectedFormatProperty
Field Value
DependencyProperty
Properties
Category
Gets the category.
Declaration
public override FormatStringCategory Category { get; }
Property Value
FormatStringCategory
The category.
Overrides
DisplayNameToFractionFormatStrings
Gets the display name to fraction format strings pairs.
Declaration
public IEnumerable<KeyValuePair<string, string>> DisplayNameToFractionFormatStrings { get; }
Property Value
IEnumerable<KeyValuePair<string, string>>
The display name to fraction format strings pairs.
Info
Gets the info.
Declaration
public override string Info { get; }
Property Value
The info.
Overrides
InitialFormatString
Gets the initial format string.
Declaration
public override string InitialFormatString { get; }
Property Value
The initial format string.
Overrides
SelectedFormat
Gets or sets the selected format.
Declaration
public string SelectedFormat { get; set; }
Property Value
The selected format.
Methods
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
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
format
CellValueFormat
The format.
Returns
The value indicating whether the format was successfully applied.
Overrides