Share

IPersistentObjectSource Interface

Description

The IPersistentObjectSource interface is used to provide RibbonItem instances required by the quick access toolbar and the status bars that are created by the application and are not created directly by the toolbar source.

Class Hierarchy

Autodesk.Windows.IPersistentObjectSource
    Autodesk.Windows.RibbonControl
    Autodesk.Windows.ToolBars.QuickAccessToolBarSource

Visual Basic

Public Interface IPersistentObjectSource

C#

public interface IPersistentObjectSource;

Remarks

Instances of this interface are registered with the ComponentManager through the AddPersistentObjectSource() method. Instances can be removed with ComponentManager.RemovePersistentObjectSource().

As the toolbar sources, including status bars and the quick access toolbar, are loaded from the persistence XML file, they will query the registered persistent property sources for a RibbonItem that matches the cookie stored in XML file. If one is found, it is added to the toolbar.

Links

IPersistentObjectSource Methods

Was this information helpful?