Skip to main content

TimelineView.TimeScaleStyle Property

Gets or sets a style that contains non-template-specific settings. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public Style TimeScaleStyle { get; set; }

Property Value

Type Description
Style

A Style object that is the style that contains non-template-specific settings.

Remarks

The Timeline View supports binding to a collection of objects containing time scale settings, described in a Model or ViewModel (using the TimelineView.TimeScalesSource property).

The Timeline View uses time scale templates to generate time scales. To choose the template based on the time scale type, use the template selector assigned to the TimelineViewe.TimeScaleTemplateSelector property. If all time scales can be described using a single template, you have no need to create a time scale template selector. Instead, assign this template to the view’s TimelineView.TimeScaleTemplate property.

To specify settings common to all time scales generated with different templates, create a style and assign it to the TimeScaleStyle property.

See Also