TimeCategoryContent
Represents the content of the time category of the number tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class TimeCategoryContent : CategoryContentBase
Inheritance: objectControlBaseCategoryContentBaseTimeCategoryContent
Inherited Members
Constructors
Initializes a new instance of the TimeCategoryContent class.
public TimeCategoryContent()
Fields
SelectedCultureProperty
DependencyProperty
Selected culture dependency property.
public static readonly DependencyProperty SelectedCultureProperty
SelectedDateTimeItemProperty
DependencyProperty
Selected date time item dependency property.
public static readonly DependencyProperty SelectedDateTimeItemProperty
Properties
Category
FormatStringCategory
Gets the category.
public override FormatStringCategory Category { get; }
The category.
Overrides:
Gets the culture infos.
public IEnumerable<CultureInfo> CultureInfos { get; }
The culture infos.
Gets the date time items.
public ObservableCollection<DateTimeItem> DateTimeItems { get; }
The date time items.
Gets the initial format string.
public override string InitialFormatString { get; }
The initial format string.
Overrides:
Gets or sets the selected culture.
public CultureInfo SelectedCulture { get; set; }
The selected culture.
Gets or sets the selected date time item.
public DateTimeItem SelectedDateTimeItem { get; set; }
The selected date time item.
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: