Skip to main content
Tab

CardViewCardStyle Class

Serves as a base for classes that provide style settings used to paint cards within the ASPxCardView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public class CardViewCardStyle :
    CardViewStyleBase

Remarks

Example

Web Forms:

<dx:ASPxCardView ID="CardView" runat="server" DataSourceID="InvoicesDataSource" Width="100%">
    <Columns>
    ...
    </Columns> 
    <Styles>
        <Card Height="10px" />
    </Styles>  
</dx:ASPxCardView>

MVC:

@Html.DevExpress().CardView(settings => {
    settings.Name = "cardView";
    ...
    settings.Styles.Card.Height = Unit.Pixel(10);

}).Bind(Model).GetHtml()
See Also