Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TimeRulerCellHourPresenter Class

Displays the hour in the time ruler’s cell.

Namespace: DevExpress.Xpf.Scheduling.Visual

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

NuGet Package: DevExpress.Wpf.Scheduling

#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.

View Example: Use Styles and Templates to Customize the TimeRuler

See Also