RadRibbonBar
RadRibbonBar control allows you to easily organize the navigation of your application in a simple, structured way.
RadRibbonBar mimics the UI of the RibbonBar used in Microsoft Office 2007, thus providing your end-users with a familiar way to navigate around your application.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[EmbeddedSkin("RibbonBar", typeof(RadRibbonBar))]
[EmbeddedSkin("RibbonBar", "Default", typeof(RadRibbonBar))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadRibbonBar))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadButton))]
[RequiredScript(typeof(jQueryPlugins), 0)]
[RequiredScript(typeof(RibbonBarBaseScripts), 1)]
[RequiredScript(typeof(MaterialRipple))]
[ClientScriptResource("Telerik.Web.UI.RadRibbonBar", "Telerik.Web.UI.RibbonBar.RadRibbonBarScripts.js")]
[TelerikToolboxCategory("Navigation")]
[ToolboxBitmap(typeof(RadRibbonBar), "Toolbox.Icons.RibbonBar.png")]
public class RadRibbonBar : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, ISkinnableControl, IControl, IPostBackEventHandler, IPostBackDataHandler, IXmlSerializable
Inheritance: objectControlWebControlRadWebControlRadRibbonBar
Implements:
Inherited Members
Constructors
public RadRibbonBar()
Properties
Gets a RibbonBarApplicationMenu object (if one is set).
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarApplicationMenu ApplicationMenu { get; set; }
A RibbonBarApplicationMenu. If not set, returns null.
Use the RibbonBarApplicationMenu property to assign/retrieve an ApplicationMenu to/from RadRibbonBar.
public string ApplicationMenuID { get; set; }
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarContextualTabGroupCollection ContextualTabGroups { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Enables automatic arrange of items within a group.
[ClientPersistedProperty]
public bool EnableAutoArrange { get; set; }
True or False. The default value is True.
Gets or sets whether maximizing/minimizing of the RibbonBar should be enabled.
[ClientPersistedProperty]
public bool EnableMinimizing { get; set; }
True or False. The default value is False.
Gets or sets a value indicating whether the Quick Access Toolbar is enabled. False by default.
public bool EnableQuickAccessToolbar { get; set; }
Gets or sets the rendering mode of all RibbonBarClickableItems images.
[ClientPersistedProperty]
public RibbonBarImageRenderingMode ImageRenderingMode { get; set; }
One of the RibbonBarImageRenderingMode values. The default value is
Auto.
Used to customize the RibbonBar keyboard navigation functionality
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarKeyboardNavigationSettings KeyboardNavigationSettings { get; }
Gets or sets whether the RibbonBar should be minimized.
[ClientPersistedProperty]
public bool Minimized { get; set; }
True or False. The default value is False.
Gets or sets a value indicating the client-side event handler that is called after an item inside of an ApplicationMenu is clicked. The event is passed the point for conditional cancel of the item's clicking.
[ClientControlEvent]
[ClientPropertyName("applicationMenuItemClicked")]
public string OnClientApplicationMenuItemClicked { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientApplicationMenuItemClicked property to specify a JavaScript function that is executed after an item inside of na ApplicationMenu is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 3 properties:
- get_applicationMenu() - the instance of the application menu;
- get_item() - the instance of the clicked application menu item;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after an item inside of an ApplicationMenu is clicked. The event serves as a point for conditional cancel of the item's clicking.
[ClientControlEvent]
[ClientPropertyName("applicationMenuItemClicking")]
public string OnClientApplicationMenuItemClicking { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientApplicationMenuItemClicking property to specify a JavaScript function that is executed after an item inside of na ApplicationMenu is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 3 properties:
- get_applicationMenu() - the instance of the application menu;
- get_item() - the instance of the clicked application menu item;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a button is clicked. The event is passed the point for conditional cancel of the button clicking.
[ClientControlEvent]
[ClientPropertyName("buttonClicked")]
public string OnClientButtonClicked { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientButtonClicked property to specify a JavaScript function that is executed after a button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a button is clicked. The event serves as a point for conditional cancel of the button clicking.
[ClientControlEvent]
[ClientPropertyName("buttonClicking")]
public string OnClientButtonClicking { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientButtonClicking property to specify a JavaScript function that is executed after a button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a toggle button is clicked. The event is passed the point for conditional cancel of the button's toggling.
[ClientControlEvent]
[ClientPropertyName("buttonToggled")]
public string OnClientButtonToggled { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientButtonToggled property to specify a JavaScript function that is executed after a toggle button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the toggle button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a toggle button is clicked. The event serves as a point for conditional cancel of the button's toggling.
[ClientControlEvent]
[ClientPropertyName("buttonToggling")]
public string OnClientButtonToggling { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientButtonToggling property to specify a JavaScript function that is executed after a toggle button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the toggle button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called when the selected color of the RibbonBarColorPicker is changed. The event is passed the point for conditional cancel of the selected color's changing.
[ClientControlEvent]
[ClientPropertyName("colorPickerColorChanged")]
public string OnClientColorPickerColorChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when the selected color of the RibbonBarColorPicker is about to be changed. The event serves as a point for conditional cancel of the selected color's changing.
[ClientControlEvent]
[ClientPropertyName("colorPickerColorChanging")]
public string OnClientColorPickerColorChanging { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when an item inside the RibbonBarComboBox is selected. The event is passed the point for conditional cancel of the item's selecting.
[ClientControlEvent]
[ClientPropertyName("comboBoxSelectedIndexChanged")]
public string OnClientComboBoxSelectedIndexChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when an item inside the RibbonBarComboBox is about to be selected.The event serves as a point for conditional cancel of the item's selecting.
[ClientControlEvent]
[ClientPropertyName("comboBoxSelectedIndexChanging")]
public string OnClientComboBoxSelectedIndexChanging { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when an text inside the RibbonBarComboBox is changed.
[ClientControlEvent]
[ClientPropertyName("comboBoxTextChanged")]
public string OnClientComboBoxTextChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when an item inside the RibbonBarDropDown is selected. The event is passed the point for conditional cancel of the item's selecting.
[ClientControlEvent]
[ClientPropertyName("dropDownSelectedIndexChanged")]
public string OnClientDropDownSelectedIndexChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when an item inside the RibbonBarDropDown is about to be selected.The event serves as a point for conditional cancel of the item's selecting.
[ClientControlEvent]
[ClientPropertyName("dropDownSelectedIndexChanging")]
public string OnClientDropDownSelectedIndexChanging { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when a gallery item is clicked.
[ClientControlEvent]
[ClientPropertyName("galleryCommand")]
public string OnClientGalleryCommand { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when a gallery item is focused.
[ClientControlEvent]
[ClientPropertyName("galleryCommandPreview")]
public string OnClientGalleryCommandPreview { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when a gallery item loses focus.
[ClientControlEvent]
[ClientPropertyName("galleryCommandPreviewEnd")]
public string OnClientGalleryCommandPreviewEnd { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called after the group launcher is clicked. The event is passed the point for conditional cancel of the group launcher clicking.
[ClientControlEvent]
[ClientPropertyName("launcherClicked")]
public string OnClientLauncherClicked { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientLauncherClicked property to specify a JavaScript function that is executed after a group launcher is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_group() - the instance of the group which launcher is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after the group launcher is clicked. The event serves as a point for conditional cancel of the group launcher clicking.
[ClientControlEvent]
[ClientPropertyName("launcherClicking")]
public string OnClientLauncherClicking { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientLauncherClicking property to specify a JavaScript function that is executed after a group launcher is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_group() - the instance of the group which launcher is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after the client object of RadRibbonBar is initialized.
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientLoad property to specify a JavaScript function that is executed after the client object of RadRibbonBar is initialized.
A single parameter is passed to the handler, which is the client-side RadRibbonBar object.
Gets or sets a value indicating the client-side event handler that is called when the RibbonBar is maximized. The event is passed the point for conditional cancel of the RibbonBar's maximizing.
[ClientControlEvent]
[ClientPropertyName("maximized")]
public string OnClientMaximized { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when the RibbonBar is about to be maximized.The event serves as a point for conditional cancel of the RibbonBar's maximizing.
[ClientControlEvent]
[ClientPropertyName("maximizing")]
public string OnClientMaximizing { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called after a menu item is clicked. The event is passed the point for conditional cancel of the menu item clicking.
[ClientControlEvent]
[ClientPropertyName("menuItemClicked")]
public string OnClientMenuItemClicked { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientMenuItemClicked property to specify a JavaScript function that is executed after a menu item is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_item() - the instance of the menu item which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a menu item is clicked. The event serves as a point for conditional cancel of the menu item clicking.
[ClientControlEvent]
[ClientPropertyName("menuItemClicking")]
public string OnClientMenuItemClicking { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientMenuItemClicking property to specify a JavaScript function that is executed after a menu item is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_item() - the instance of the menu item which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called when the RibbonBar is minimized. The event is passed the point for conditional cancel of the RibbonBar's minimizing.
[ClientControlEvent]
[ClientPropertyName("minimized")]
public string OnClientMinimized { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when the RibbonBar is about to be minimized.The event serves as a point for conditional cancel of the RibbonBar's minimizing.
[ClientControlEvent]
[ClientPropertyName("minimizing")]
public string OnClientMinimizing { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when the value inside the RibbonBarNumericTextBox is changed. The event is passed the point for conditional cancel of the value's changing.
[ClientControlEvent]
[ClientPropertyName("numericTextBoxValueChanged")]
public string OnClientNumericTextBoxValueChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called when the value inside the RibbonBarNumericTextBox is about to be changed. The event serves as a point for conditional cancel of the value's changing.
[ClientControlEvent]
[ClientPropertyName("numericTextBoxValueChanging")]
public string OnClientNumericTextBoxValueChanging { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Gets or sets a value indicating the client-side event handler that is called after a non-selected tab is clicked. The event is passed the point for conditional cancel of the selecting of new tab (ClientSelectedTabChanging).
[ClientControlEvent]
[ClientPropertyName("selectedTabChanged")]
public string OnClientSelectedTabChanged { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientSelectedTabChanged property to specify a JavaScript function that is executed after a non-selected tab is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 3 properties:
- get_tab() - the instance of the tab which is the new selected tab;
- get_previouslySelectedTab() - the instance of the tab which was previously selected;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a non-selected tab is clicked. The event serves as a point for conditional cancel of the selecting of new tab.
[ClientControlEvent]
[ClientPropertyName("selectedTabChanging")]
public string OnClientSelectedTabChanging { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientSelectedTabChanging property to specify a JavaScript function that is executed after a non-selected tab is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 3 properties:
- get_tab() - the instance of the tab which is just clicked;
- get_previouslySelectedTab() - the instance of the tab which still is the selected tab (it's cancelable event);
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a button inside of a split button is clicked. The event is passed the point for conditional cancel of the button clicking.
[ClientControlEvent]
[ClientPropertyName("splitButtonClicked")]
public string OnClientSplitButtonClicked { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientSplitButtonClicked property to specify a JavaScript function that is executed after a button inside of a split button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a button inside split button is clicked. The event serves as a point for conditional cancel of the button clicking.
[ClientControlEvent]
[ClientPropertyName("splitButtonClicking")]
public string OnClientSplitButtonClicking { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientSplitButtonClicking property to specify a JavaScript function that is executed after a button inside of a split button is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a toggle button inside of ToggleList is clicked. The event is passed the point for conditional cancel of the toggle list's toggle-state change.
[ClientControlEvent]
[ClientPropertyName("toggleListToggled")]
public string OnClientToggleListToggled { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientToggleListToggled property to specify a JavaScript function that is executed after a toggle button inside of a ToggleList is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the toggle button which is clicked;
- get_domEvent().
Gets or sets a value indicating the client-side event handler that is called after a toggle button inside of ToggleList is clicked. The event serves as a point for conditional cancel of the toggle list's toggle-state change.
[ClientControlEvent]
[ClientPropertyName("toggleListToggling")]
public string OnClientToggleListToggling { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Use the OnClientToggleListToggling property to specify a JavaScript function that is executed after a toggle button inside of a ToggleList is clicked.
Two parameters are passed to the handler:
- sender (the client-side RadRibbonBar object);
- eventArgs with 2 properties:
- get_button() - the instance of the toggle button which is clicked;
- get_domEvent().
public bool RenderInactiveContextualTabGroups { get; set; }
Gets or sets the index of the selected tab.
public int SelectedTabIndex { get; set; }
The zero based index of the selected tab. The default value is -1 (empty Tabs collection).
Use the SelectedTabIndex property to programmatically specify the selected tab in RadRibbonBar.
protected override bool SupportsRenderingMode { get; }
Overrides:
Gets a RibbonBarTabCollection object that contains the tabs of the RibbonBar.
[PersistenceMode(PersistenceMode.InnerProperty)]
public RibbonBarTabCollection Tabs { get; }
A RibbonBarTabCollection that contains the tabs of the RibbonBar. By default the collection is empty (RibbonBar has no tabs).
Use the Tabs property to access the tabs of RadRibbonBar. You can also use the Tabs property to manage the tabs. You can add, remove or modify tabs from the Tabs collection.
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
Searches the RadRibbonBar control for the first RibbonBarButton which Value property is equal to the specified value.
public RibbonBarButton FindButtonByValue(string value)
The Value to search for.
Returns:A RibbonBarButton whose Value property is equal to the specifed value. If a button is not found, null (Nothing in Visual Basic) is returned.
Searches the RadRibbonBar control for the first RibbonBarGroup which Value property is equal to the specified value.
public RibbonBarGroup FindGroupByValue(string value)
The Value to search for.
Returns:A RibbonBarGroup whose Value property is equal to the specifed value. If a group is not found, null (Nothing in Visual Basic) is returned.
Searches the RadRibbonBar control for the first RibbonBarMenuItem which Value property is equal to the specified value.
public RibbonBarMenuItem FindMenuItemByValue(string value)
The Value to search for.
Returns:A RibbonBarMenuItem whose Value property is equal to the specifed value. If a menu item is not found, null (Nothing in Visual Basic) is returned.
Searches the RadRibbonBar control for the first RibbonBarTab which Value property is equal to the specified value.
public RibbonBarTab FindTabByValue(string value)
The Value to search for.
Returns:A RibbonBarTab whose Value property is equal to the specifed value. If a tab is not found, null (Nothing in Visual Basic) is returned.
Searches the RadRibbonBar control for the first RibbonBarToggleButton which Value property is equal to the specified value.
public RibbonBarToggleButton FindToggleButtonByValue(string value)
The Value to search for.
Returns:A RibbonBarToggleButton whose Value property is equal to the specified value. If a button is not found, null (Nothing in Visual Basic) is returned.
Gets an XML string representing the state of the control. All child items and their properties are serialized in this string.
protected virtual void GetXml(XmlSerializer serializer, TextWriter output)
Populates the control from the specified XML file.
public void LoadContentFile(string xmlFileName)
The name of the XML file.
Loads the posted content of the list control, if it is different from the last posting.
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
The key identifier for the control, used to index the postCollection.
postCollectionNameValueCollectionA NameValueCollection that contains value information indexed by control identifiers.
Returns:true if the posted content is different from the last posting; otherwise, false.
Overrides:
Raises the ApplicationMenuItemClick event.
protected virtual void OnApplicationMenuItemClick(RibbonBarApplicationMenuItemClickEventArgs e)
The RibbonBarApplicationMenuItemClickEventArgs instance containing the event data.
Raises the ButtonClick event.
protected virtual void OnButtonClick(RibbonBarButtonClickEventArgs e)
The RibbonBarButtonClickEventArgs instance containing the event data.
Raises the ButtonToggle event.
protected virtual void OnButtonToggle(RibbonBarButtonToggleEventArgs e)
The RibbonBarButtonToggleEventArgs instance containing the event data.
Raises the ColorPickerColorChanged event.
protected virtual void OnColorPickerColorChanged(RibbonBarColorPickerColorChangedEventArgs e)
The RibbonBarColorPickerColorChangedEventArgs instance containing the event data.
Raises the ComboBoxSelectedIndexChanged event.
protected virtual void OnComboBoxSelectedIndexChanged(RibbonBarComboBoxSelectedIndexChangedEventArgs e)
The RibbonBarComboBoxSelectedIndexChangedEventArgs instance containing the event data.
Raises the ComboBoxTextChanged event.
protected virtual void OnComboBoxTextChanged(RibbonBarComboBoxTextChangedEventArgs e)
The RibbonBarComboBoxTextChangedEventArgs instance containing the event data.
Raises the Command event.
protected virtual void OnCommand(object sender, CommandEventArgs e)
The IRibbonBarCommandItem instance that triggered the event.
eCommandEventArgsThe CommandEventArgs instance containing the event data.
Raises the DropDownSelectedIndexChanged event.
protected virtual void OnDropDownSelectedIndexChanged(RibbonBarDropDownSelectedIndexChangedEventArgs e)
The RibbonBarDropDownSelectedIndexChangedEventArgs instance containing the event data.
Raises the GalleryCommand event.
protected virtual void OnGalleryCommand(RibbonBarGalleryCommandEventArgs e)
The RibbonBarGalleryCommandEventArgs instance containing the event data.
Raises the LauncherClick event.
protected virtual void OnLauncherClick(RibbonBarLauncherClickEventArgs e)
The RibbonBarLauncherClickEventArgs instance containing the event data.
Raises the MenuItemClick event.
protected virtual void OnMenuItemClick(RibbonBarMenuItemClickEventArgs e)
The RibbonBarMenuItemClickEventArgs instance containing the event data.
Raises the NumericTextBoxValueChanged event.
protected virtual void OnNumericTextBoxValueChanged(RibbonBarNumericTextBoxValueChangedEventArgs e)
The RibbonBarNumericTextBoxValueChangedEventArgs instance containing the event data.
Raises the SelectedTabChange event.
protected virtual void OnSelectedTabChange(RibbonBarSelectedTabChangeEventArgs e)
The RibbonBarSelectedTabChangeEventArgs instance containing the event data.
Raises the SplitButtonClick event.
protected virtual void OnSplitButtonClick(RibbonBarSplitButtonClickEventArgs e)
The RibbonBarButtonClickEventArgs instance containing the event data.
Raises the ToggleListToggle event.
protected virtual void OnToggleListToggle(RibbonBarToggleListToggleEventArgs e)
The RibbonBarToggleListToggleEventArgs instance containing the event data.
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
protected virtual void RaisePostBackEvent(string eventArgument)
protected override void RenderContents(HtmlTextWriter writer)
Overrides:
protected override void TrackViewState()
Overrides:
Events
Occurs (server-side) after an item of the ApplicationMenu is clicked.
public event RibbonBarApplicationMenuItemClickEventHandler ApplicationMenuItemClick
Occurs (server-side) after a button is clicked.
public event RibbonBarButtonClickEventHandler ButtonClick
Occurs (server-side) after a toggle button is clicked.
public event RibbonBarButtonToggleEventHandler ButtonToggle
public event RibbonBarColorPickerColorChangedEventHandler ColorPickerColorChanged
Occurs (server-side) after a ComboBox item is selected.
public event RibbonBarComboBoxSelectedIndexChangedEventHandler ComboBoxSelectedIndexChanged
Occurs (server-side) after the text of the ComboBox is changed.
public event RibbonBarComboBoxTextChangedEventHandler ComboBoxTextChanged
Occurs (server-side) after an item is clicked.
public event CommandEventHandler Command
Occurs (server-side) after a DropDown item is selected.
public event RibbonBarDropDownSelectedIndexChangedEventHandler DropDownSelectedIndexChanged
public event RibbonBarGalleryCommandEventHandler GalleryCommand
Occurs (server-side) after a group launcher is clicked.
public event RibbonBarLauncherClickEventHandler LauncherClick
Occurs (server-side) after a menu item inside RibbonBarMenu is clicked.
public event RibbonBarMenuItemClickEventHandler MenuItemClick
public event RibbonBarNumericTextBoxValueChangedEventHandler NumericTextBoxValueChanged
Occurs (server-side) after a non-selected tab is clicked.
public event RibbonBarSelectedTabChangeEventHandler SelectedTabChange
Occurs (server-side) after a split button or button inside of it is clicked.
public event RibbonBarSplitButtonClickEventHandler SplitButtonClick
Occurs (server-side) after a toggle button inside RibbonBarToggleList is clicked.
public event RibbonBarToggleListToggleEventHandler ToggleListToggle