Skip to main content
A newer version of this page is available. .

BaseEditSettings.CreateEditor(Boolean, IDefaultEditorViewInfo, EditorOptimizationMode) Method

Creates a new editor with the specified settings.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v18.2.dll

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