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

MapControl.CanZoom(Double) Method

Checks whether it is possible to zoom a map by the specified zoom level.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public bool CanZoom(
    double zoomLevel
)

#Parameters

Name Type Description
zoomLevel Double

A double value specifying the level by which a map should be zoomed.

#Returns

Type Description
Boolean

true, if it is allowed to zoom; otherwise, false.

See Also