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

MapUnit.Equals(MapUnit, MapUnit) Method

Determines whether the two specified MapUnit objects are equal.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.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