Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / BeginInit Method


In This Topic
    BeginInit Method (DataGridControl)
    In This Topic
    Signals the beginning of a batch modification process.
    Syntax
    'Declaration
     
    Public Overrides Sub BeginInit() 
    'Usage
     
    Dim instance As DataGridControl
     
    instance.BeginInit()
    public override void BeginInit()
    Remarks

    During a batch modification process, data will not be loaded, sorting operations will not be done, and the visible positions of columns will not be resequenced. All of these operations will be accomplished once the EndInit method is called. In addition, any items defined in the fixed headers, fixed footers, headers, or footers of a view will only be added to a grid when EndInit is called.

    If BeginInit is called when another row is being edited, an exception will be thrown.

    When overriding BeginInit in a derived class, the base implementation must be called.

    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