Skip to main content
A newer version of this page is available. .
Tab

CardViewColumn.ExportCellStyle Property

Gets the style settings defining the appearance of data cells when the card view is exported.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public CardViewExportAppearance ExportCellStyle { get; }

Property Value

Type Description
CardViewExportAppearance

Style settings.

Remarks

Web Forms:

<dx:ASPxCardView ID="cardView" >
    <Columns>
        <dx:CardViewTextColumn FieldName="ProductName">
            <ExportCellStyle BackColor="#FFFF66">
            </ExportCellStyle>
        </dx:CardViewTextColumn>
    </Columns>
</dx:ASPxCardView>

MVC:

settings.Columns.Add(column => {  
    column.FieldName = "ProductName";
    column.ExportCellStyle.BackColor="#FFFF66";
}); 
See Also