←Select platform

HitTestBuffer Property

Summary

Hit test buffer.

Syntax
C#
C++/CLI
public int HitTestBuffer { get; set; } 
public:  
   property int HitTestBuffer 
   { 
      int get() 
      void set(int value) 
   } 

Property Value

The hit test buffer. Default value is 0.

Remarks

The hit test buffer is used to make the test point "bigger" to compensate for errors and provide smoother hit-testing. For example, if the buffer value is 2, a square with sides 4 pixels long will be used around the test point to perform the hit-testing. This can be very useful when the target element is small in size on a touch device.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.