Skip to main content
All docs
V24.1

DirectXFormBase.BindCommand<T>(Expression<Action<T>>, Object, String, Func<T>) Method

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public IDisposable BindCommand<T>(
    Expression<Action<T>> commandSelector,
    object source,
    string elementId,
    Func<T> queryCommandParameter
)

Parameters

Name Type
commandSelector Expression<Action<T>>
source Object
elementId String
queryCommandParameter Func<T>

Type Parameters

Name
T

Returns

Type
IDisposable
See Also