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

Assigns the editor settings to the specified editor.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public void ApplyToEdit(
    IBaseEdit edit,
    bool assignEditorSettings,
    IDefaultEditorViewInfo defaultViewInfo,
    bool force
)
Public Sub ApplyToEdit(
    edit As IBaseEdit,
    assignEditorSettings As Boolean,
    defaultViewInfo As IDefaultEditorViewInfo,
    force As Boolean
)

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