Class RibbonGallerySettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RibbonGallerySettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RibbonGallerySettingsBuilder : ControlBuilder
Constructors
RibbonGallerySettingsBuilder()
Declaration
public RibbonGallerySettingsBuilder()
RibbonGallerySettingsBuilder(RibbonGallerySettings)
Declaration
public RibbonGallerySettingsBuilder(RibbonGallerySettings model)
Parameters
Methods
BeforeItemRender(String)
Event triggers before rendering each gallery item.
Declaration
public RibbonGallerySettingsBuilder BeforeItemRender(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
BeforeSelect(String)
Event triggers before the gallery items selects.
Declaration
public RibbonGallerySettingsBuilder BeforeSelect(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Groups(Action<RibbonGalleryGroupBuilder>)
Declaration
public RibbonGallerySettingsBuilder Groups(Action<RibbonGalleryGroupBuilder> groups)
Parameters
Returns
Groups(List<RibbonGalleryGroup>)
Defines the properties for collection of gallery items in the Ribbon.
Declaration
public RibbonGallerySettingsBuilder Groups(List<RibbonGalleryGroup> value)
Parameters
Returns
ItemCount(Double)
Defines the number of items to be displayed in the Ribbon Gallery.
Declaration
public RibbonGallerySettingsBuilder ItemCount(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ItemHover(String)
Event triggers when a user hovers over a gallery item.
Declaration
public RibbonGallerySettingsBuilder ItemHover(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Event triggers when the gallery popup closes.
Declaration
public RibbonGallerySettingsBuilder PopupClose(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Defines the height of the ribbon gallery popup.
Declaration
public RibbonGallerySettingsBuilder PopupHeight(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Event triggers when the gallery popup opens.
Declaration
public RibbonGallerySettingsBuilder PopupOpen(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Defines the template for gallery items in popup. The current gallery item model passed as context to build the content.
Declaration
public RibbonGallerySettingsBuilder PopupTemplate(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Defines the width of the ribbon gallery popup.
Declaration
public RibbonGallerySettingsBuilder PopupWidth(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Select(String)
Event triggers when the gallery items selects.
Declaration
public RibbonGallerySettingsBuilder Select(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
SelectedItemIndex(Double)
Defines the index of current selected gallery item.
Declaration
public RibbonGallerySettingsBuilder SelectedItemIndex(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Template(String)
Defines the template for gallery items contents. The current gallery item model passed as context to build the content.
Declaration
public RibbonGallerySettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns