Skip to main content
All docs
V25.1
  • JS

    CollectionFactoryExpressionExtensions.AddFor<TCard, TProperty>(CollectionFactory<ColumnPropertiesBuilder<TCard>>, Expression<Func<TCard, TProperty>>) Method

    Namespace: DevExtreme.AspNet.Mvc

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public static ColumnPropertiesBuilder<TCard> AddFor<TCard, TProperty>(
        this CollectionFactory<ColumnPropertiesBuilder<TCard>> factory,
        Expression<Func<TCard, TProperty>> expression
    )

    Parameters

    Name Type
    factory CollectionFactory<ColumnPropertiesBuilder<TCard>>
    expression Expression<Func<TCard, TProperty>>

    Type Parameters

    Name
    TCard
    TProperty

    Returns

    Type
    ColumnPropertiesBuilder<TCard>
    See Also