windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-4cffc7af.md
Notifies the editor that the initialization has been started.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual void BeginInit()
Public Overridable Sub BeginInit
This method supports the internal infrastructure and is not intended to be used directly in your code.
To prevent excessive display updates when changing multiple properties, use the RepositoryItem.BeginUpdate and RepositoryItem.EndUpdate methods.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeginInit() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-tokenedit-in-unbound-column/CS/Form1.cs#L30
RepositoryItemTokenEdit rep = new RepositoryItemTokenEdit();
rep.BeginInit();
rep.Tokens.BeginUpdate();
winforms-grid-tokenedit-in-unbound-column/VB/Form1.vb#L32
Dim rep As RepositoryItemTokenEdit = New RepositoryItemTokenEdit()
rep.BeginInit()
rep.Tokens.BeginUpdate()
See Also