ArcGIS Runtime SDK for WPF - Library Reference
MessageLayerHitTestBehavior Enumeration
See Also 
ESRI.ArcGIS.Client.AdvancedSymbology Namespace : MessageLayerHitTestBehavior Enumeration

Specifies how calls to HitTestAsync should be handled. For best performance, and to only access the results of the most recent hit-test, use DiscardQueuedTests.

Syntax

Visual Basic (Declaration) 
Public Enum MessageLayerHitTestBehavior 
   Inherits System.Enum
C# 
public enum MessageLayerHitTestBehavior : System.Enum 

Remarks

Hit-tests are accumulated and executed during the accelerated display draw cycle. In order for an application to perform well, unnecessary hit-tests should be avoided. Therefore if your application only requires the results of the 'most-recent call', you should specify a MessageLayerHitTestBehavior of DiscardQueuedTests.

Members

MemberDescription
DiscardQueuedHitTestsHit tests are performed asynchronously as part of the map render cycle. When multiple calls are made to HitTestAsync with the same callback object, and these hit test requests queue up, only the most recent one is performed.
PerformAllHitTestsA hit test is performed for each call to HitTestAsync

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ESRI.ArcGIS.Client.AdvancedSymbology.MessageLayerHitTestBehavior

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.