Xceed DataGrid for WPF v7.2 Documentation
AutoScrollCurrentItem Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : AutoScrollCurrentItem Property
Gets or sets the triggers that are allowed to cause the current item can be scrolled into view automatically.
Syntax
'Declaration
 
Public Property AutoScrollCurrentItem As AutoScrollCurrentItemTriggers
'Usage
 
Dim instance As DataGridControl

Dim value As AutoScrollCurrentItemTriggers

 

instance.AutoScrollCurrentItem = value

 

value = instance.AutoScrollCurrentItem
public AutoScrollCurrentItemTriggers AutoScrollCurrentItem {get; set;}

Property Value

One or more AutoScrollCurrentItemTriggers flags that represent the triggers that are allowed to cause the current item can be scrolled into view automatically. By default, All.
Remarks

This property and its associated enumeration, AutoScrollCurrentItemTriggers, can be useful, for example, when the data source changes a great deal, in which case automatically scrolling to the current item can make it difficult for the end user to read the information on the screen.

By default, All is used, which results in behavior identical to what is found in versions 4.5 and earlier of the datagrid.

Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members