ASPxCardView.CardLayoutProperties Property
Provides access to the settings allowing you to customize a card layout.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
Declaration
[DefaultValue(null)]
public CardViewFormLayoutProperties CardLayoutProperties { get; }
<DefaultValue(Nothing)>
Public ReadOnly Property CardLayoutProperties As CardViewFormLayoutProperties
Property Value
Type | Default | Description |
---|---|---|
CardViewFormLayoutProperties | null |
A CardViewFormLayoutProperties object that contains the card layout settings. |
Examples
This example shows how to create and customize a custom command button. The custom "Filter" button CardViewCustomCommandButton is added to the CustomButtons collection. To define an action of the custom "Filter" button, the CustomButtonCallback event is handled.
<dx:ASPxCardView ID="ASPxCardView1" runat="server" DataSourceID="AccessDataSource1" KeyFieldName="CustomerID" AutoGenerateColumns="False" OnCustomButtonCallback="ASPxCardView1_CustomButtonCallback">
<SettingsBehavior AllowFocusedCard="true" />
<Columns>
<dx:CardViewTextColumn FieldName="CompanyName" VisibleIndex="1">
</dx:CardViewTextColumn>
<dx:CardViewTextColumn FieldName=&q