Skip to main content
All docs
V24.1

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

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