Class ContentGroup
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ContentGroup : EJTagHelper
Constructors
ContentGroup()
Declaration
public ContentGroup()
Properties
ButtonSettings
Gets or sets the Syncfusion button members, events by using this buttonSettings.
Declaration
[JsonProperty("buttonSettings")]
public ButtonProperties ButtonSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| ButtonProperties | The buttonSettings |
Columns
Gets or sets used to set the count of gallery contents in a row.
Declaration
[JsonProperty("columns")]
public int Columns { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The columns |
ContentID
Gets or sets the custom items such as div, table, controls as custom controls with the contentID type in the groups.
Declaration
[JsonProperty("contentID")]
public string ContentID { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The contentID |
CssClass
Gets or sets the CSS class property to apply styles to the button, split, dropdown controls in the groups.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The cssClass |
CustomGalleryItemCollection
Declaration
public virtual List<CustomGalleryItem> CustomGalleryItemCollection { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<CustomGalleryItem> |
CustomGalleryItems
Gets or sets the Syncfusion button and menu as gallery extra items.
Declaration
[JsonProperty("customGalleryItems")]
public List<CustomGalleryItem> CustomGalleryItems { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<CustomGalleryItem> | The customGalleryItems |
CustomToolTip
Gets or sets Provides custom tooltip for button, split button, dropdown list, toggle button, custom controls in the sub groups. Text and HTML support are also provided for title and content.
Declaration
[JsonProperty("customToolTip")]
public CustomToolTip CustomToolTip { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomToolTip | The customToolTip |
DropdownSettings
Gets or sets the Syncfusion dropdown list members, events by using this dropdownSettings.
Declaration
[JsonProperty("dropdownSettings")]
public DropDownListProperties DropdownSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| DropDownListProperties | The dropdownSettings |
EnableSeparator
Gets or sets a value indicating whether the separator to the control that is in row type group. The separator separates the control from the next control in the group. Set “true†to enable the separator.
Declaration
[JsonProperty("enableSeparator")]
public bool EnableSeparator { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ExpandedColumns
Gets or sets the count of gallery contents in a row, when the gallery is in expanded state.
Declaration
[JsonProperty("expandedColumns")]
public int ExpandedColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The expandedColumns |
GalleryItemCollection
Declaration
public virtual List<GalleryItem> GalleryItemCollection { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GalleryItem> |
GalleryItems
Gets or sets to defines each gallery content.
Declaration
[JsonProperty("galleryItems")]
public List<GalleryItem> GalleryItems { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GalleryItem> | The galleryItems |
Id
Gets or sets the Id for button, split button, dropdown list, toggle button, gallery, custom controls in the sub groups.
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The id |
IsBig
Gets or sets a value indicating whether this instance the size for button, split button controls. Set “true†for big size and “false†for small size.
Declaration
[JsonProperty("isBig")]
public bool IsBig { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsMobileOnly
Gets or sets To show the content in Mobile Group.Contents are separated dispalys in Mobile Group in Mobile View if the property enables
Declaration
[JsonProperty("isMobileOnly")]
public bool IsMobileOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ItemHeight
Gets or sets the height of each gallery content.
Declaration
[JsonProperty("itemHeight")]
public string ItemHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The itemHeight |
ItemWidth
Gets or sets the width of each gallery content.
Declaration
[JsonProperty("itemWidth")]
public string ItemWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The itemWidth |
QuickAccessMode
Gets or sets To add,show and hide controls in Quick Access toolbar.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("quickAccessMode")]
public QuickAccessMode QuickAccessMode { get; set; }
Property Value
| Type | Description |
|---|---|
| QuickAccessMode | The quickAccessMode |
SplitButtonSettings
Gets or sets the Syncfusion split button members, events by using this splitButtonSettings.
Declaration
[JsonProperty("splitButtonSettings")]
public SplitButtonProperties SplitButtonSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| SplitButtonProperties | The splitButtonSettings |
Text
Gets or sets the text for button, split button, toggle button controls in the sub groups.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The text |
ToggleButtonSettings
Gets or sets the Syncfusion toggle button members, events by using toggleButtonSettings.
Declaration
[JsonProperty("toggleButtonSettings")]
public ToggleButtonProperties ToggleButtonSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| ToggleButtonProperties | The toggleButtonSettings |
ToolTip
Gets or sets the tooltip for button, split button, dropdown list, toggle button, custom controls in the sub groups.
Declaration
[JsonProperty("toolTip")]
public string ToolTip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The toolTip |
Type
Gets or sets the type as “RibbonButtonType.Button†or “RibbonButtonType.SplitButton†or “RibbonButtonType.dropDownList†or “RibbonButtonType.toggleButton†to render button, split, dropdown, toggle button controls.
Declaration
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
public RibbonButtonType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| RibbonButtonType | The type |
Methods
ShouldSerializeButtonSettings()
ShouldSerialize Method for ButtonSettings
Declaration
public bool ShouldSerializeButtonSettings()
Returns
| Type | Description |
|---|---|
| System.Boolean |
ShouldSerializeDropdownSettings()
ShouldSerialize Method for DropdownSettings
Declaration
public bool ShouldSerializeDropdownSettings()
Returns
| Type | Description |
|---|---|
| System.Boolean |
ShouldSerializeSplitButtonSettings()
ShouldSerialize Method for SplitButtonSettings
Declaration
public bool ShouldSerializeSplitButtonSettings()
Returns
| Type | Description |
|---|---|
| System.Boolean |
ShouldSerializeToggleButtonSettings()
ShouldSerialize Method for ToggleButtonSettings
Declaration
public bool ShouldSerializeToggleButtonSettings()
Returns
| Type | Description |
|---|---|
| System.Boolean |