HumanReadableTimeSpanHelper.ConvertToString Event

Occurs before the specified TimeSpan value is converted to a string.

Namespace: DevExpress.XtraScheduler.Native

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

public static event TimeSpanStringConvertEventHandler ConvertToString
Public Shared Event ConvertToString As TimeSpanStringConvertEventHandler

Event Data

The ConvertToString event handler receives an argument of the TimeSpanStringConvertEventArgs type. The following properties provide information specific to this event.

Property Description
Handled Gets or sets whether an event was handled, if it was handled the default actions are not required.
StringValue Gets or sets the string used when converting a TimeSpan value to a string or vice versa.
TimeSpanValue Gets or sets the TimeSpan value used when converting a TimeSpan value to a string or vice versa.

Remarks

Use the HumanReadableTimeSpanHelper.ToString method to convert a TimeSpan to a string . Handle the ConvertToString event to implement a custom conversion.

See Also