Share

RibbonPanelSource Class

Description

The RibbonPanelSource class is used to store and manage the content of a panel in a ribbon.

RibbonPanel references an object of this class in its Source property and displays the content from this class. The content is a collection of RibbonItem objects stored in an Items collection. The items can be organized into multiple rows by adding a RibbonRowBreak item at the index at where a new row is to start. The items can also be organized into two panels - main panel and slide-out panel - by adding a RibbonPanelBreak item at the index where the slide-out panel is to start.

Class Hierarchy

Autodesk.Windows.RibbonPanelSource
    Autodesk.Windows.RibbonPanelSpacer

Visual Basic

Public Class RibbonPanelSource
Inherits ICloneable
Inherits IRibbonContentUid
Inherits IRibbonAutomation
Inherits System.ComponentModel.INotifyPropertyChanged

C#

public class RibbonPanelSource : ICloneable, IRibbonContentUid, IRibbonAutomation, System.ComponentModel.INotifyPropertyChanged;

Links

RibbonPanelSource Methods, RibbonPanelSource Properties, RibbonPanelSource Events

Was this information helpful?