API Reference
Class
LightboxGallerySettings
Settings sub-builder for TablerLightboxGallery.
Inheritance
- Object
- LightboxGallerySettings
Methods
public LightboxGallerySettings Border(Boolean border = true) #Returns:
LightboxGallerySettingsControls whether thumbnails have a border.
Parameters
- border System.Boolean = true
public LightboxGallerySettings Columns(Int32 xs = 3, Int32 md = 4, Int32 lg = 6) #Returns:
LightboxGallerySettingsSets responsive column counts (Bootstrap row-cols-* utilities). Defaults: xs=3, md=4, lg=6.
Parameters
- xs System.Int32 = 3
- md System.Int32 = 4
- lg System.Int32 = 6
public TablerLightboxGallery End() #Returns:
TablerLightboxGalleryReturns control to the root gallery builder.
public LightboxGallerySettings Gap(Int32 gap = 3) #Returns:
LightboxGallerySettingsSets grid gap (Bootstrap g-*). Use 0 to disable.
Parameters
- gap System.Int32 = 3
public LightboxGallerySettings Group(String name) #Returns:
LightboxGallerySettingsSets the FsLightbox group name (items with same group can be navigated).
Parameters
- name System.String
public LightboxGallerySettings Rounded(Boolean rounded = true) #Returns:
LightboxGallerySettingsControls whether thumbnails are rounded.
Parameters
- rounded System.Boolean = true
public LightboxGallerySettings ThumbnailRatio(TablerCardImageSize ratio) #Returns:
LightboxGallerySettingsSets the thumbnail aspect ratio (Tabler img-responsive-* utility).
Parameters
- ratio HtmlForgeX.TablerCardImageSize