Skip to main content

BaseEditSettings.CreateEditor(IDefaultEditorViewInfo, EditorOptimizationMode) Method

Creates a new editor with the specified settings.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

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 Disabled

A EditorOptimizationMode enumeration value.

Returns

Type Description
DevExpress.Xpf.Editors.IBaseEdit

An object implementing the DevExpress.Xpf.Editors.IBaseEdit interface.

See Also