Tab

CardViewEditColumn.PropertiesEdit Property

Gets the column editor’s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.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