BaseEditSettings.CreateEditor(IDefaultEditorViewInfo, EditorOptimizationMode) Method
Creates a new editor with the specified settings.
Namespace: DevExpress.Xpf.Editors.Settings
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
public IBaseEdit CreateEditor(
IDefaultEditorViewInfo defaultViewInfo,
EditorOptimizationMode optimizationMode = EditorOptimizationMode.Disabled
)
Parameters
Name | Type | Description |
---|---|---|
defaultViewInfo | DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo | An object implementing the DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo interface. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
optimizationMode | EditorOptimizationMode | 0 | A EditorOptimizationMode enumeration value. |
Returns
Type | Description |
---|---|
DevExpress.Xpf.Editors.IBaseEdit | An object implementing the DevExpress.Xpf.Editors.IBaseEdit interface. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateEditor(IDefaultEditorViewInfo, EditorOptimizationMode) 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.