Tab
A newer version of this page is available. Switch to the current version.

GridViewTemplates.PreviewRow Property

Gets or sets a template for displaying preview rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(null)]
public virtual ITemplate PreviewRow { get; set; }

Property Value

Type Default Description
ITemplate

null

An object that implements the ITemplate interface.

Remarks

When a template of the PreviewRow type is created, it’s instantiated within a container object of the GridViewPreviewRowTemplateContainer type.

            <Templates>
                <PreviewRow>
                    <dxe:ASPxLabel ID="lblFullDescription" runat="server" Text='<%# Eval("Description") %>' /><br />
                    <dxe:ASPxLabel ID="lblAdditionalField" runat="server" Text='<%# Eval("AdditionalField") %>' />
                </PreviewRow>
            </Templates>
See Also