New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public static class DateTimeFormats

Inheritance: objectDateTimeFormats

Methods

Adds the default formats.

C#
public static void AddDefaultFormats()

Adds the format string.

C#
public static bool AddFormat(string formatString)
Parameters:formatStringstring

The format string.

Returns:

bool

Gets the date time formats.

C#
public static List<string> GetDateTimeFormats()
Returns:

List<string>

Inserts a format string.

C#
public static bool Insert(int index, string formatString)
Parameters:indexint

The index.

formatStringstring

The format string.

Returns:

bool

C#
public static bool RemoveAt(int index)
Parameters:indexintReturns:

bool

Removes the format string.

C#
public static bool RemoveFormat(string formatString)
Parameters:formatStringstring

The format string.

Returns:

bool