RibbonBar
Namespace: Wisej.Web.Ext.RibbonBar
Assembly: Wisej.Web.Ext.RibbonBar
The RibbonBar organizes the features of an application into a series of tabs.
- C#
- VB.NET
public class RibbonBar : Control, IWisejDesignTarget2, IWisejDesignTarget
Public Class RibbonBar
Inherits Control
Implements IWisejDesignTarget2, IWisejDesignTarget
The RibbonBar is a command bar that organizes the features of an application into a series of tabs at the top of the application main page or window. The RibbonBar user interface (UI) increases discoverability of features and functions, enables quicker learning of the application, and makes users feel more in control of their experience with the application. The RibbonBar replaces the traditional menu bar and toolbars.
Constructors
RibbonBar()
Initializes a new instance of the RibbonBar control.
Properties
AppButton
RibbonBarAppButton: Represents the application button displayed before the first RibbonBarPage.
AutoSize
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False)
CausesValidation
Boolean: Returns or sets whether clicking RibbonBar items causes validation to be performed on the active control. (Default: False)
CompactView
Boolean: Returns or sets the compact view mode. (Default: False)
ImageList
ImageList: Returns or sets the collection of images available to the RibbonBar items. (Default: null)
Pages
RibbonBarPageCollection: Returns the collection of RibbonBarPage pages in the RibbonBar.
SelectedPage
RibbonBarPage: Returns or sets the currently active RibbonBarPage.
Tools
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Methods
GetPreferredSize(proposedSize)
Retrieves the size of a rectangular area into which a control can be fitted.
| Parameter | Type | Description |
|---|---|---|
| proposedSize | Size | The custom size specified for the control. |
Returns: Size. The Size representing the preferred size of the control.
Events
AppButtonClick
EventHandler Fired when the AppButton is clicked.
CompactViewChanged
EventHandler Fired when the property CompactView changes value.
GroupClick
RibbonBarGroupEventHandler Fired when the user clicks on a RibbonBarGroup button.
ItemClick
RibbonBarItemEventHandler Fired when the user clicks on a RibbonBarItem.
ItemValueChanged
RibbonBarItemEventHandler Fired when the user changes the value of a RibbonBarItem.
MenuButtonItemClick
RibbonBarMenuItemEventHandler Fired when the user clicks one of the drop down menu items of a RibbonBarItemButton or RibbonBarItemSplitButton.
SelectedPageChanged
EventHandler Fired when the value of the SelectedPage property changes.
ToolClick
ToolClickEventHandler Fired when a ComponentTool is clicked.