Back to Devexpress

FormatTimeIntervalInfo.FormatString Property

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-dot-formattimeintervalinfo-95cbdc2e.md

latest1.6 KB
Original Source

FormatTimeIntervalInfo.FormatString Property

Specifies the format string to display the datetime value by the control.

Namespace : DevExpress.XtraScheduler.Reporting

Assembly : DevExpress.XtraScheduler.v25.2.Reporting.dll

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

csharp
[DefaultValue("")]
[XtraSerializableProperty]
public string FormatString { get; set; }
vb
<DefaultValue("")>
<XtraSerializableProperty>
Public Property FormatString As String

Property Value

TypeDefaultDescription
StringString.Empty

A format string.

|

Remarks

The string should follow the common pattern for the .NET format strings. For example:

{0:MM/dd/yyyy}-{1:MM/dd/yyyy},

where two parameters indicate the start and the end of the range represented by the time cells.

See Also

FormatTimeIntervalInfo Class

FormatTimeIntervalInfo Members

DevExpress.XtraScheduler.Reporting Namespace