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.v21.1.dll

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