Back to Devexpress

TimeRulerCellHourPresenter Class

wpf-devexpress-dot-xpf-dot-scheduling-dot-visual-69275778.md

latest2.5 KB
Original Source

TimeRulerCellHourPresenter Class

Displays the hour in the time ruler’s cell.

Namespace : DevExpress.Xpf.Scheduling.Visual

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class TimeRulerCellHourPresenter :
    FastTextBlock
vb
Public Class TimeRulerCellHourPresenter
    Inherits 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

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement FastTextBlock TimeRulerCellHourPresenter

See Also

TimeRulerCellHourPresenter Members

TimeRuler

DevExpress.Xpf.Scheduling.Visual Namespace