Class TimeCategoryContent
Represents the content of the time category of the number tab of the FormatCellsDialog.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class TimeCategoryContent : CategoryContentBase
Constructors
TimeCategoryContent()
Initializes a new instance of the TimeCategoryContent class.
Declaration
public TimeCategoryContent()
Fields
SelectedCultureProperty
Selected culture dependency property.
Declaration
public static readonly DependencyProperty SelectedCultureProperty
Field Value
System.Windows.DependencyProperty
|
SelectedDateTimeItemProperty
Selected date time item dependency property.
Declaration
public static readonly DependencyProperty SelectedDateTimeItemProperty
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
CultureInfos
Gets the culture infos.
Declaration
public IEnumerable<CultureInfo> CultureInfos { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>
The culture infos. |
DateTimeItems
Gets the date time items.
Declaration
public ObservableCollection<DateTimeItem> DateTimeItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<DateTimeItem>
The date time items. |
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
SelectedCulture
Gets or sets the selected culture.
Declaration
public CultureInfo SelectedCulture { get; set; }
Property Value
System.Globalization.CultureInfo
The selected culture. |
SelectedDateTimeItem
Gets or sets the selected date time item.
Declaration
public DateTimeItem SelectedDateTimeItem { get; set; }
Property Value
DateTimeItem
The selected date time item. |
Methods
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. |