A newer version of this page is available. Switch to the current version.

CardViewSettings.Styles Property

Provides access to the style settings that control the appearance of the extension's visual elements.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public CardViewStyles Styles { get; }
Public ReadOnly Property Styles As CardViewStyles

Property Value

Type Description

A CardViewStyles object that provides style settings for view elements.


The returned object provides a number of properties that allow style settings of various visual elements to be customized.


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

See Also