windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-cbb9d8aa.md
This member supports the editor library’s internal infrastructure and is not intended to be used in your applications.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual BaseEditPainter CreatePainter()
Public Overridable Function CreatePainter As BaseEditPainter
| Type | Description |
|---|---|
| DevExpress.XtraEditors.Drawing.BaseEditPainter |
A DevExpress.XtraEditors.Drawing.BaseEditPainter descendant used to paint the editor.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CreatePainter() 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.
if (painters.ContainsKey(editorType)) return painters[editorType];
painters.Add(editorType, col.RealColumnEdit.CreatePainter());
return painters[editorType];
BaseEditViewInfo info = edit.CreateViewInfo() as BaseEditViewInfo;
BaseEditPainter painter = edit.CreatePainter();
info.EditValue = value;
winforms-grid-multiple-row-selection-web-style-checkboxes/CS/E1271/CheckMarkSelection.cs#L175
info = edit.CreateViewInfo() as CheckEditViewInfo;
painter = edit.CreatePainter() as CheckEditPainter;
info.EditValue = Checked;
End If
painters.Add(editorType, col.RealColumnEdit.CreatePainter())
Return painters(editorType)
Dim info As BaseEditViewInfo = TryCast(edit.CreateViewInfo(), BaseEditViewInfo)
Dim painter As BaseEditPainter = edit.CreatePainter()
info.EditValue = value
winforms-grid-multiple-row-selection-web-style-checkboxes/VB/E1271/CheckMarkSelection.vb#L203
info = TryCast(edit.CreateViewInfo(), CheckEditViewInfo)
painter = TryCast(edit.CreatePainter(), CheckEditPainter)
info.EditValue = Checked
See Also