TimeScale.FormatCaption(DateTime, DateTime) Method
In This Article
Returns a string formatted according to display format for this scale type.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
start | Date |
A String value representing a scale starting point. |
end | Date |
A String value representing a scale final point. |
#Returns
Type | Description |
---|---|
String | A String value to be used in a timeline caption. |
#Remarks
To change the default format string for the time scale use the TimeScale.DisplayFormat property.
See Also