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.v20.1.dll

Declaration

public bool CanScroll(
    Point offset
)
Public Function CanScroll(
    offset As Point
) As Boolean

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