Skip to main content
All docs
V25.2
  • TreeList.BindCommand<T>(Expression<Action<T>>, Object, String, Func<T>) Method

    Namespace: DevExpress.XtraTreeList

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