WidgetFactory<TModel>.Gallery() Method

Creates a Gallery control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GalleryBuilder Gallery()

Returns

Type Description
GalleryBuilder

An instance of GalleryBuilder.

Remarks

This method creates a GalleryBuilder class instance whose members can be used to specify Gallery options.

@(Html.DevExtreme().Gallery() // create a Gallery
    // call methods to specify control options
)
See Also