GridSplitter.DragIncrement Property
.NET Framework 3.0
Gets or sets the minimum distance that a user must drag a mouse to resize rows or columns with a GridSplitter control.
Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
/** @property */ public double get_DragIncrement () /** @property */ public void set_DragIncrement (double value)
public function get DragIncrement () : double public function set DragIncrement (value : double)
<object DragIncrement="double" .../>
Property Value
A double value that represents the minimum distance that a user must use the mouse to drag a GridSplitter to resize rows or columns. The default value is 1.The minimum distance that is defined by DragIncrement is reinitialized continually as the user drags the mouse. For example, when you drag the GridSplitter by the DragIncrement amount, the rows or columns are resized. To resize the rows and columns more, you must drag the GridSplitter the same amount. Therefore, changes to column and row sizes that are made by using the mouse or the keyboard to move the GridSplitter are made in multiples of the DragIncrement.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.