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.v19.2.dll

Declaration

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

Property Value

Type Description
CardViewStyles

A CardViewStyles object that provides style settings for view elements.

Remarks

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

Example

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

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