Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

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 snippet (auto-collected from DevExpress Examples) contains a reference 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