Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / AutoScrollCurrentItemTriggers Enumeration


In This Topic
    AutoScrollCurrentItemTriggers Enumeration
    In This Topic
    Represents the situations that will trigger an automatic scroll to the current item (or brought into view). 
    Syntax
    'Declaration
     
    <FlagsAttribute()>
    Public Enum AutoScrollCurrentItemTriggers 
       Inherits System.Enum
    'Usage
     
    Dim instance As AutoScrollCurrentItemTriggers
    [Flags()]
    public enum AutoScrollCurrentItemTriggers : System.Enum 
    Members
    MemberDescription
    All

    Any of the situations described by the other flags will trigger an automatic scroll to the current item. This is default value of AutoScrollCurrentItem and corresponds to the behavior found in versions 4.5 and earlier of the datagrid.

    CurrentChanged

    The current item will be automatically brought into view if DataGridControl.CurrentItem or DataGridControl.CurrentColumn change, if the value of one of the properties of CurrentItem changes, or if a change occurs in the data source.

    FocusChangedThe current item will be automatically brought into view if a focus change occurs.
    GroupChangedThe current item will be automatically brought into view if the group configuration changes.
    ItemsSourceChanged

    The current item will be automatically brought into view if the data source is replaced.

    NoneThe triggers described by the other flags will not cause the current item to be brought into view.
    SortChanged

    The current item will be automatically brought into view if the sort configuration changes.

    ThemeChangedThe current item will be automatically brought into view if the theme changes.
    ViewChangedThe current item will be automatically brought into view if the view (DataGridControl.View) changes.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Wpf.DataGrid.AutoScrollCurrentItemTriggers

    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