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

TimeRulerCellHourPresenter Class

Displays the hour in the time ruler’s cell.

Namespace: DevExpress.Xpf.Scheduling.Visual

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

Declaration

public class TimeRulerCellHourPresenter :
    FastTextBlock

Remarks

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.

Tip

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T610483.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeRulerCellHourPresenter class.

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