Skip to main content

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

In This Article

Assigns editor settings to a specified editor.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v14.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 a 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