Skip to main content
All docs
V23.2

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.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