[]
Represents the spreadsheet ribbon bar.
[ToolboxBitmap(typeof(RibbonBar), "Resources.RibbonBar.png")]
public class RibbonBar : Control
<ToolboxBitmap(GetType(RibbonBar), "Resources.RibbonBar.png")>
Public Class RibbonBar
Inherits Control
Name | Description |
---|---|
RibbonBar() | Initializes a new instance of the RibbonBar class. |
Name | Description |
---|---|
ApplicationMenu | Gets the object that represents the Application menu at the top-left corner of the Ribbon. |
AutoSize | Gets or set value indicating whether the size of this control is calculated automatically. |
ContextualTabGroups | Gets the collection of contextual tab groups. |
CustomColorSchemes | Gets or sets custom color schemes. |
CustomFontSchemes | Gets or sets custom font schemes. |
CustomThemes | Gets or sets custom themes. |
DefaultSize | Gets the default size of the component. |
Dock | The dock property controls to which edge of the container this control is docked to. |
FormulaBarLines | Get or set the height of the formula bar in lines. |
Qat | Gets the object that represents the Quick Access Toolbar (QAT). |
SelectedTab | Gets or sets the selected tab. |
ShowFormulaBar | Gets or sets a value indicating whether to show the formula bar. |
Site | Gets or sets the site of the control. |
Tabs | Gets the tabs collection of this RibbonBar. |
Name | Description |
---|---|
Attach(FpSpread, bool) | Attaches the specified Spread control to the ribbon bar. |
CreateRibbonForm() | Create the Ribbon Form which allows the Ribbon to display its items in the TitleBar area. |
Detach() | Detach the specified Spread control to the ribbon bar. |
Dispose(bool) | Clean up any resources being used. |
ExecuteCommand(BuiltInCommands, object) | Executes a command with the specified parameter. |
ExecuteCommand(string, object) | Executes a command with the specified parameter. |
GenerateDefaultItems() | Generates default items for this RibbonBar. |
GetPreferredSize(Size) | Retrieves the size of a rectangular area into which a control can be fitted. |
GetSortFilterEnableState(bool, out AutoFilter, out bool, out bool, out bool) | |
NotifyStateChange(StateEventArgs) | Pushes the state change to the updating queue of RibbonBar. |
RefreshState(bool) | Refresh state of all items in ribbon bar. |
Name | Description |
---|---|
BeforeRefreshState | Occurs before the ribbon bar start updating state of items. |
CommandExecuted | Occurs when the corresponding command of a ribbon item is executed. |
CommandExecuting | Occurs when the corresponding command of a ribbon item is executing. |
Error | Occurs when the user performs an invalid operation. |