Back to Devexpress

CardViewCardStyle Class

aspnet-devexpress-dot-web-e7431e14.md

latest3.3 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class CardViewCardStyle :
    CardViewStyleBase
vb
Public Class CardViewCardStyle
    Inherits CardViewStyleBase

The following members return CardViewCardStyle objects:

Show 12 links

Remarks

Example

Web Forms:

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

MVC:

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

}).Bind(Model).GetHtml()

Implements

IComponent

IDisposable

IStateManager

Inheritance

Object MarshalByRefObject Component Style AppearanceStyleBase AppearanceStyle DevExpress.Web.GridStyleBase CardViewStyleBase CardViewCardStyle

See Also

CardViewCardStyle Members

Card View

DevExpress.Web Namespace