Back to Devexpress

IModelListViewPreviewColumn.PreviewColumnName Property

expressappframework-devexpress-dot-expressapp-dot-systemmodule-dot-imodellistviewpreviewcolumn.md

latest2.8 KB
Original Source

IModelListViewPreviewColumn.PreviewColumnName Property

Specifies the column whose content must be displayed in the preview section.

Namespace : DevExpress.ExpressApp.SystemModule

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DataSourceProperty("Columns", new string[]{})]
IModelColumn PreviewColumnName { get; set; }
vb
<DataSourceProperty("Columns", New String() {})>
Property PreviewColumnName As IModelColumn

Property Value

TypeDescription
IModelColumn

An IModelColumn object specifying the column whose content must be displayed in the preview section. If you do not specify the property value, the preview section is hidden.

|

Remarks

Use the PreviewColumnName property to show preview sections under each data row across all columns. These sections can display lengthy memo fields with images, values from data source fields, custom text, etc.

The PreviewColumnName property applies to List Views that use the GridListEditor and DxGridListEditor.

For step-by-step instructions on how to enable Row Preview Sections in XAF applications, refer to the following topic: How to: Enable Row Preview Sections in a Grid List Editor.

The topics below contain platform-specific information and examples related to Row Preview Sections:

See Also

IModelListViewPreviewColumn Interface

IModelListViewPreviewColumn Members

DevExpress.ExpressApp.SystemModule Namespace