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

TimelineView.TimeScaleStyle Property

Gets or sets a style that contains settings common to all time scales generated using different templates. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public Style TimeScaleStyle { get; set; }

Property Value

Type Description
Style

A Style object that is the style that contains settings common to all time scales generated using different templates.

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 required template based on the time scale type, use the template selector assigned to the TimelineView.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 using different templates, create a style and assign it to the TimeScaleStyle property.

See Also