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

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

Assigns the editor settings to the specified editor.

Namespace: DevExpress.Xpf.Editors.Settings

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

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