Intersoft ClientUI Documentation
Sensitivity Property
See Also  Send Feedback
Intersoft.Client.UI.Controls.Interactivity Namespace > UXStackPanel Class : Sensitivity Property






Gets or sets a value that determine the distance between drag item and the nearest item that triggered the move action.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
Public Property Sensitivity As Double
Visual Basic (Usage)Copy Code
Dim instance As UXStackPanel
Dim value As Double
 
instance.Sensitivity = value
 
value = instance.Sensitivity
C# 
[CategoryAttribute("Behavior")]
public double Sensitivity {get; set;}
Delphi 
public read-write property Sensitivity: Double; 
JScript 
CategoryAttribute("Behavior")
public function get,set Sensitivity : double
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
public: __property double get_Sensitivity();
public: __property void set_Sensitivity( 
   double value
);
C++/CLI 
[CategoryAttribute("Behavior")]
public:
property double Sensitivity {
   double get();
   void set (    double value);
}

Remarks

In a standard drag and drop experience, you move an element half way of its actual dimension to start reordering the element. This is determined by the Sensitivity property (default value is 0.5).

If you change the Sensitivity property to 0.3, you need to move the element a little bit further until it reach the yellow area.

Note that if you are moving the element from right to left direction, you need to move it until the left yellow area and vice versa.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.