TimeRulerCellHourPresenter Class

Displays the hour in the time ruler’s cell.

Namespace: DevExpress.Xpf.Scheduling.Visual

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


public class TimeRulerCellHourPresenter :


The TimeRulerCellHourPresenter is the FastTextBlock class descendant whose FastTextBlock.Text property is bound to the TimeRulerCellPresenter.HourString property.

The base FastTextBlock class provides better display performance by rendering text at the glyph level.

The TimeRulerCellHourPresenter and TimeRulerCellMinutePresenter elements are contained in the default data template used to display the content of the TimeRulerCellControl.


A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/t610483/how-to-customize-timeruler-using-styles-and-templates.

See Also