A newer version of this page is available. Switch to the current version.

TimeScale.FormatCaption(DateTime, DateTime) Method

Returns a string formatted according to display format for this scale type.

Namespace: DevExpress.XtraScheduler

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


public virtual string FormatCaption(
    DateTime start,
    DateTime end
Public Overridable Function FormatCaption(
    start As Date,
    end As Date
) As String


Name Type Description
start DateTime

A String value representing a scale starting point.

end DateTime

A String value representing a scale final point.


Type Description

A String value to be used in a timeline caption.


To change the default format string for the time scale use the TimeScale.DisplayFormat property.

See Also