Skip to main content

BaseEditSettings.CreateEditor(Boolean, 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 virtual IBaseEdit CreateEditor(
    bool assignEditorSettings,
    IDefaultEditorViewInfo defaultViewInfo,
    EditorOptimizationMode optimizationMode
)

Parameters

Name Type Description
assignEditorSettings Boolean

true to assign specified settings to the new editor; otherwise, false.

defaultViewInfo DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo

An object implementing the DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo interface.

optimizationMode EditorOptimizationMode

A EditorOptimizationMode enumeration value.

Returns

Type Description
DevExpress.Xpf.Editors.IBaseEdit

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

See Also