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

SchedulerSettings.CustomizeElementStyle Property

Enables you to perform custom actions before a scheduler’s visual element is rendered.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public CustomizeElementStyleEventHandler CustomizeElementStyle { get; set; }

Property Value

Type Description
CustomizeElementStyleEventHandler

A CustomizeElementStyleEventHandler delegate method allowing you to implement custom processing.

Remarks

Use CustomizeElementStyle to customize the appearance of the scheduler control’s visual elements. For example, you can specify an element’s foreground, background and border colors, the font settings, etc. To do this, use properties of the style object accessed via CustomizeElementStyleEventArgs.Style. To obtain the element type (date header, vertical or horizontal resource header, all-day area, selection bar, date cell body or date cell header, etc.), use the CustomizeElementStyleEventArgs.ElementType property. The CustomizeElementStyleEventArgs.Cell property provides access to the object containing information on the resource and time interval corresponding to the visual element.

See Also