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.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public CardViewStyles Styles { get; }
#Property Value
Type | Description |
---|---|
Card |
A Card |
#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()