Skip to main content

LayerItemsGeneratingEventArgs(MapItem[], Exception, Boolean, Object) Constructor

Initializes a new instance of the LayerItemsGeneratingEventArgs class with the specified values of event arguments.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public LayerItemsGeneratingEventArgs(
    MapItem[] items,
    Exception error,
    bool cancelled,
    object userState
)

Parameters

Name Type Description
items MapItem[]

An array of MapItem objects specifying items being generated. This value is assigned to the LayerItemsGeneratingEventArgs.Items property.

error Exception

A Exception object containing information about the error, if it occurred when raising this event. This value is assigned to the Error property.

cancelled Boolean

A Boolean value containing information on whether item generation should be cancelled. This value is assigned to the Cancelled property.

userState Object

A Object specifying the user state. This value is assigned to the UserState property.

Remarks

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

See Also