Skip to main content

CustomizeElementStyleEventArgs(AppearanceStyleBase, WebElementType, ITimeCell, Boolean) Constructor

Initializes a new instance of the CustomizeElementStyleEventArgs class with the specified settings.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.1.dll

NuGet Package: DevExpress.Web.Scheduler

Declaration

public CustomizeElementStyleEventArgs(
    AppearanceStyleBase style,
    WebElementType type,
    ITimeCell cell,
    bool isAlternate
)

Parameters

Name Type Description
style AppearanceStyleBase

An AppearanceStyleBase class descendant which specifies a style of the visual element within the scheduler. This value is assigned to the CustomizeElementStyleEventArgs.Style property.

type WebElementType

A WebElementType enumeration value specifying the type of the visual element. This value is assigned to the CustomizeElementStyleEventArgs.ElementType property.

cell DevExpress.XtraScheduler.Drawing.ITimeCell

A DevExpress.XtraScheduler.Drawing.ITimeCell object containing information on a resource and time interval corresponding to the scheduler’s visual element. This value is assigned to the CustomizeElementStyleEventArgs.Cell property.

isAlternate Boolean

A Boolean value which indicates whether the event’s visual element has a specific style. This value is assigned to the CustomizeElementStyleEventArgs.IsAlternate property.

Remarks

Instances of the CustomizeElementStyleEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also