BCGControlBar Library for .NET
MainPanel Property




Gets or sets the MainPanel associated with the MainRibbonButton.
Syntax
'Declaration
 
Public Property MainPanel As MainRibbonPanel
'Usage
 
Dim instance As MainRibbonButton
Dim value As MainRibbonPanel
 
instance.MainPanel = value
 
value = instance.MainPanel
public MainRibbonPanel MainPanel {get; set;}
public: __property MainRibbonPanel* get_MainPanel();
public: __property void set_MainPanel( 
   MainRibbonPanel* value
);
public:
property MainRibbonPanel^ MainPanel {
   MainRibbonPanel^ get();
   void set (    MainRibbonPanel^ value);
}
Remarks
The MainPanel will be displayed when the MainRibbonButton is pressed.  When new MainPanel is set, the Option buttons from this application will be added on it.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MainRibbonButton Class
MainRibbonButton Members

Send Feedback