Class CustomGalleryItemBuilder
Class for CustomGalleryItemBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class CustomGalleryItemBuilder
Constructors
CustomGalleryItemBuilder(ContentGroup)
Initializes a new instance of the CustomGalleryItemBuilder class.
Declaration
public CustomGalleryItemBuilder(ContentGroup contentgroup)
Parameters
Type | Name | Description |
---|---|---|
ContentGroup | contentgroup | The contentgroup |
Methods
Add()
It adds current custom gallery item.
Declaration
public void Add()
ButtonSettings(ButtonProperties)
Specifies the Syncfusion button members, events by using buttonSettings.
Declaration
public CustomGalleryItemBuilder ButtonSettings(ButtonProperties buttonSettings)
Parameters
Type | Name | Description |
---|---|---|
ButtonProperties | buttonSettings | The buttonSettings. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
CustomItemType(CustomItemType)
Specifies the type as CustomItemType.Menu or CustomItemType.Button to render Syncfusion button and menu.
Declaration
public CustomGalleryItemBuilder CustomItemType(CustomItemType type)
Parameters
Type | Name | Description |
---|---|---|
CustomItemType | type | The CustomItemType. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
CustomToolTip(CustomToolTip)
Specifies the custom tooltip for gallery extra item’s button. Refer to ejRibbon#tabs->groups->content->groups->customToolTip for its inner properties.
Declaration
public CustomGalleryItemBuilder CustomToolTip(CustomToolTip customToolTip)
Parameters
Type | Name | Description |
---|---|---|
CustomToolTip | customToolTip |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
MenuId(String)
Specifies the UL list id to render menu as gallery extra item.
Declaration
public CustomGalleryItemBuilder MenuId(string menuId)
Parameters
Type | Name | Description |
---|---|---|
System.String | menuId | The menuId. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
MenuSettings(MenuProperties)
Specifies the Syncfusion menu members, events by using menuSettings.
Declaration
public CustomGalleryItemBuilder MenuSettings(MenuProperties menu)
Parameters
Type | Name | Description |
---|---|---|
MenuProperties | menu | The MenuSettings. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
Text(String)
Specifies the text for gallery extra item’s button.
Declaration
public CustomGalleryItemBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |
ToolTip(String)
Specifies the tooltip for gallery extra item’s button.
Declaration
public CustomGalleryItemBuilder ToolTip(string toolTip)
Parameters
Type | Name | Description |
---|---|---|
System.String | toolTip | The toolTip. |
Returns
Type | Description |
---|---|
CustomGalleryItemBuilder |