Back to Devexpress

CardViewColumn.ExportCaptionStyle Property

aspnet-devexpress-dot-web-dot-cardviewcolumn-ff28a76c.md

latest1.5 KB
Original Source

CardViewColumn.ExportCaptionStyle Property

Gets the style settings defining the caption appearance when the card view is exported.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public CardViewExportAppearance ExportCaptionStyle { get; }
vb
Public ReadOnly Property ExportCaptionStyle As CardViewExportAppearance

Property Value

TypeDescription
CardViewExportAppearance

Style settings.

|

Remarks

Web Forms:

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

MVC:

csharp
settings.Columns.Add(column => {  
    column.FieldName = "ProductName";
    column.ExportCaptionStyle.BackColor="#FFFF66";
});

See Also

CardViewColumn Class

CardViewColumn Members

DevExpress.Web Namespace