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

TimeRulerCellPresenter Class

Displays the time ruler’s cell content.

Namespace: DevExpress.Xpf.Scheduling.Visual

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public class TimeRulerCellPresenter :
    ChromePresenterBase

Remarks

To display hour and minutes in the TimeRuler‘s cells, the TimeRulerCellPresenter provides the TimeRulerCellPresenter.HourString and TimeRulerCellPresenter.MinuteString properties whose values are displayed by the TimeRulerCellHourPresenter and TimeRulerCellMinutePresenter elements, respectively.

Tip

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.

Inheritance

Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
ContentPresenter
DevExpress.Xpf.Scheduling.Visual.ChromePresenterBase
TimeRulerCellPresenter
See Also