BaseEditSettings.CreateEditor(IDefaultEditorViewInfo, EditorOptimizationMode) Method

Creates a new editor with the specified settings.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v21.1.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.

See Also