Skip to main content

BaseEditSettings.ApplyToEdit(IBaseEdit, Boolean, IDefaultEditorViewInfo, Boolean) Method

Assigns the editor settings to the specified editor.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public void ApplyToEdit(
    IBaseEdit edit,
    bool assignEditorSettings,
    IDefaultEditorViewInfo defaultViewInfo,
    bool force
)

Parameters

Name Type Description
edit DevExpress.Xpf.Editors.IBaseEdit

A BaseEdit class descendant that represents the target editor.

assignEditorSettings Boolean

true to assign the current editor’s settings to the target editor; otherwise, false.

defaultViewInfo DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo

An object implementing the DevExpress.Xpf.Editors.Settings.IDefaultEditorViewInfo interface, containing editor settings (e.g. GridColumn).

force Boolean

true to assign all settings; false to assign only those settings that have been changed.

See Also