Class RibbonItem
Inheritance
Namespace: Syncfusion.EJ2.Ribbon
Assembly: Syncfusion.EJ2.dll
Syntax
public class RibbonItem : EJTagHelper
Constructors
RibbonItem()
Declaration
public RibbonItem()
Properties
ActiveSize
Defines the active size of the ribbon item.
Declaration
public RibbonItemSize ActiveSize { get; set; }
Property Value
Type | Description |
---|---|
RibbonItemSize | The default value is RibbonItemSize.Medium |
AllowedSizes
Defines the sizes that are allowed for the ribbon item on ribbon resize.
Declaration
public RibbonItemSize AllowedSizes { get; set; }
Property Value
Type | Description |
---|---|
RibbonItemSize | The default value is null |
ButtonSettings
Defines the settings for the ribbon button.
Declaration
public RibbonButtonSettings ButtonSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonButtonSettings | The default value is null |
CheckBoxSettings
Defines the settings for the ribbon checkbox.
Declaration
public RibbonCheckBoxSettings CheckBoxSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonCheckBoxSettings | The default value is null |
ColorPickerSettings
Defines the settings for the ribbon color picker.
Declaration
public RibbonColorPickerSettings ColorPickerSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonColorPickerSettings | The default value is null |
ComboBoxSettings
Defines the settings for the ribbon combobox.
Declaration
public RibbonComboBoxSettings ComboBoxSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonComboBoxSettings | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
CssClass
Defines one or more CSS classes to customize the appearance of item.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Disabled
Defines whether the item is disabled or not.
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
DisplayOptions
Defines the display options for the ribbon item.
Declaration
public DisplayMode DisplayOptions { get; set; }
Property Value
Type | Description |
---|---|
DisplayMode | The default value is DisplayMode.Auto |
DropDownSettings
Defines the settings for the ribbon dropdown button.
Declaration
public RibbonDropDownSettings DropDownSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonDropDownSettings | The default value is null |
GallerySettings
Defines the properties of the gallery view in Ribbon.
Declaration
public RibbonGallerySettings GallerySettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonGallerySettings | The default value is null |
GroupButtonSettings
Defines the properties for group button in Ribbon
Declaration
public RibbonGroupButtonSettings GroupButtonSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonGroupButtonSettings | The default value is null |
Id
Defines a unique identifier for the item.
Declaration
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Overrides
ItemTemplate
Defines the template content for the ribbon item.
ActiveSize
property is passed as string in template context.
Declaration
public string ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
KeyTip
Defines the key tip text to be accessed for specified Ribbon item.
Declaration
public string KeyTip { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
RibbonTooltipSettings
Defines the settings for the tooltip of the item.
Declaration
public object RibbonTooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
SplitButtonSettings
Defines the settings for the ribbon split button.
Declaration
public RibbonSplitButtonSettings SplitButtonSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonSplitButtonSettings | The default value is null |
Type
Defines the type of control to be added as the Ribbon Item.
Declaration
public RibbonItemType Type { get; set; }
Property Value
Type | Description |
---|---|
RibbonItemType | The default value is RibbonItemType.Button |