Skip to main content
A newer version of this page is available. .
Tab

CardViewEditColumn.PropertiesEdit Property

Gets the column editor’s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public override EditPropertiesBase PropertiesEdit { get; set; }

Property Value

Type Description
EditPropertiesBase

A EditPropertiesBase descendant that contains the column editor’s settings.

Remarks

Example

Note

For a full example, see the CardView - Sorting (MVC) demo.

@Html.DevExpress().CardView( settings => {
    settings.Name = "CardView";
    ...
    settings.Columns.Add(c =>{
        c.FieldName = "Price";
        c.SortOrder = ColumnSortOrder.Ascending;
        c.PropertiesEdit.DisplayFormatString = "c";
    });
    settings.Columns.Add(c => {
        c.FieldName = "PhotoUrl";
        c.ColumnType = MVCxCardViewColumnType.Image;
        ((ImageEditProperties)c.PropertiesEdit).ImageWidth = 250;
    });

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