Back to Devexpress

MapControl.CanScroll(Point) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-canscroll-x28-system-dot-windows-dot-point-x29.md

latest1.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

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

Parameters

NameTypeDescription
offsetPoint

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

|

Returns

TypeDescription
Boolean

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

|

Remarks

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

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace