Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ElevationsCalculatedEventArgs(ElevationRequestResult, Exception, Boolean, Object) Constructor

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

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public ElevationsCalculatedEventArgs(
    ElevationRequestResult result,
    Exception error,
    bool cancelled,
    object userState
)

#Parameters

Name Type Description
result ElevationRequestResult

A ElevationRequestResult object specifying the request result to a web service. This value is assigned to the ElevationsCalculatedEventArgs.Result 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 whether receiving information 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 ElevationsCalculatedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also