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
Initializes a new instance of the FractionCategoryContent class.
public FractionCategoryContent()
Fields
SelectedFormatProperty
DependencyProperty
Selected format dependency property.
public static readonly DependencyProperty SelectedFormatProperty
Properties
Category
FormatStringCategory
Gets the category.
public override FormatStringCategory Category { get; }
The category.
Overrides:
Gets the display name to fraction format strings pairs.
public IEnumerable<KeyValuePair<string, string>> DisplayNameToFractionFormatStrings { get; }
The display name to fraction format strings pairs.
Gets the initial format string.
public override string InitialFormatString { get; }
The initial format string.
Overrides:
Gets or sets the selected format.
public string SelectedFormat { get; set; }
The selected format.
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: