Skip to main content

MapUnit.Equals(MapUnit, MapUnit) Method

Determines whether the two specified MapUnit objects are equal.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public static bool Equals(
    MapUnit unit1,
    MapUnit unit2
)

Parameters

Name Type Description
unit1 MapUnit

A MapUnit instance that specifies the first map unit to compare.

unit2 MapUnit

A MapUnit instance that specifies the second map unit to compare.

Returns

Type Description
Boolean

true if specified objects are equal; otherwise false.

Remarks

Two MapUnit objects are considered equal if their MapUnit.X and MapUnit.Y property values are equal.

See Also