Back to Devexpress

RepositoryItem.UnLockEvents() Method

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-7e048a12.md

latest2.6 KB
Original Source

RepositoryItem.UnLockEvents() Method

This method supports the .NET Framework infrastructure and is not intended to be called from your code.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void UnLockEvents()
vb
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Sub UnLockEvents

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnLockEvents() 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-display-editors-in-columns-headers/CS/WindowsApplication1/InplaceEditorHelper/ColumnInplaceEditorHelper.cs#L131

csharp
ActiveEditor.SendMouse(ActiveEditor.PointToClient(Control.MousePosition), Control.MouseButtons);
    ActiveEditor.Properties.UnLockEvents();
}

winforms-grid-display-editors-in-columns-headers/VB/InplaceEditorHelper/ColumnInplaceEditorHelper.vb#L124

vb
ActiveEditor.SendMouse(ActiveEditor.PointToClient(Control.MousePosition), Control.MouseButtons)
    ActiveEditor.Properties.UnLockEvents()
End Sub

See Also

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace