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.v20.2.dll


public CustomizeElementStyleEventHandler CustomizeElementStyle { get; set; }
Public Property CustomizeElementStyle As CustomizeElementStyleEventHandler

Property Value

Type Description

A CustomizeElementStyleEventHandler delegate method allowing you to implement custom processing.


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