C# Class Smrf.NodeXL.ExcelTemplate.LayoutManagerForRibbonDropDown

Helper class for managing graph layouts.
This class is meant for use in Excel applications that allow the user to select a graph layout via a RibbonDropDown that has one item per available layout. It provides methods for populating the RibbonDropDown and for creating a layout of the selected type.

Call AddRibbonDropDownItems during application initialization. When the user selects one of the RibbonDropDownItems added by this method, the LayoutManager.LayoutChanged event fires. In the event handler, call LayoutManager.CreateLayout to create a layout of the selected type.

Inheritance: Smrf.NodeXL.ApplicationUtil.LayoutManager
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_oRibbonDropDown RibbonDropDown

Méthodes publiques

Méthode Description
AddRibbonDropDownItems ( RibbonDropDown ribbonDropDown ) : void
AssertValid ( ) : void
LayoutManagerForRibbonDropDown ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
RibbonDropDown_SelectionChanged ( object sender, RibbonControlEventArgs e ) : void

Method Details

AddRibbonDropDownItems() public méthode

public AddRibbonDropDownItems ( RibbonDropDown ribbonDropDown ) : void
ribbonDropDown RibbonDropDown
Résultat void

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

LayoutManagerForRibbonDropDown() public méthode

Initializes a new instance of the class.
public LayoutManagerForRibbonDropDown ( ) : System
Résultat System

RibbonDropDown_SelectionChanged() protected méthode

protected RibbonDropDown_SelectionChanged ( object sender, RibbonControlEventArgs e ) : void
sender object
e RibbonControlEventArgs
Résultat void

Property Details

m_oRibbonDropDown protected_oe property

protected RibbonDropDown m_oRibbonDropDown
Résultat RibbonDropDown