windowsforms-devexpress-dot-xtraeditors-dot-customeditor-dot-repositoryitemanycontrol-2203add9.md
Gets or sets the control displayed by the current RepositoryItemAnyControl object.
Namespace : DevExpress.XtraEditors.CustomEditor
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public IAnyControlEdit Control { get; set; }
Public Property Control As IAnyControlEdit
| Type | Description |
|---|---|
| DevExpress.XtraEditors.CustomEditor.IAnyControlEdit |
The control displayed by the current RepositoryItemAnyControl object.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Control property.
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-image-slider-cell-editor/CS/WindowsFormsApplication202/ImageSliderHelper.cs#L27
view = grid.MainView as GridView;
repository.Control = slider;
view.Columns["Image"].ColumnEdit = repository;
winforms-grid-image-slider-cell-editor/VB/WindowsFormsApplication202/ImageSliderHelper.vb#L31
view = TryCast(grid.MainView, GridView)
repository.Control = slider
view.Columns("Image").ColumnEdit = repository
See Also
RepositoryItemAnyControl Class