DateTimeFormats
Class
Provides the shared date/time format patterns used by Scheduler timeline views.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
C#
public static class DateTimeFormats
Inheritance: objectDateTimeFormats
Methods
Replaces the current contents of the shared list with the built-in format patterns.
C#
public static void AddDefaultFormats()
Resets the shared list to the built-in defaults and returns that mutable list. Custom entries in the list are discarded.
C#
public static List<string> GetDateTimeFormats()
List<string>
The shared list of built-in date/time format patterns.
Removes the format at the specified position in the shared list.
C#
public static bool RemoveAt(int index)
The zero-based position of the format to remove.
Returns:true after the item is removed.
Exceptions: ArgumentOutOfRangeExceptionThe index is outside the list bounds.