Skip to main content
A newer version of this page is available. .

TimeRulerCellControl.HourStringFormat Property

Gets or sets a format to display an hour in the TimeRuler’s cell. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling.Visual

Assembly: DevExpress.Xpf.Scheduling.v19.2.dll

Declaration

public string HourStringFormat { get; set; }

Property Value

Type Description
String

A format string to display a DateTime value.

Remarks

A TimeRuler cell displays its hour value if the TimeRulerCellControl.IsHourBoundary property is true. If the HourStringFormat property value is not specified, the cell uses the “h” format that represents the hour as a number from 1 through 12.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HourStringFormat property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also