Skip to main content

MapControl.CanScroll(Point) Method

Checks whether it is possible to scroll a map by the specified offset.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public bool CanScroll(
    Point offset
)

Parameters

Name Type Description
offset Point

A Point value specifying the offset by which a map should be scrolled.

Returns

Type Description
Boolean

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

Remarks

To scroll a map, call the MapControl.Scroll method.

See Also