Share via


IUIFramework2 interface

Extends the IUIFramework interface that defines the methods for the core functionality of the Windows Ribbon framework. The IUIFramework2 interface adds support for dynamically updating the markup and associated commands for Ribbon controls at run time.

When to implement

Client applications do not implement this interface; custom implementations are not supported.

When to use

Client applications use this interface to provide a dynamic UI. An implementation is provided by the UIRibbonFramework object.

Members

The IUIFramework2 interface inherits from IUIFramework. IUIFramework2 also has these types of members:

  • Methods

Methods

The IUIFramework2 interface has these methods.

Method Description
GetUICommandCategory

Retrieves the category of the Command.

GetUICommandID

Retrieves the ID of the Command.

GetUICommandName

Retrieves the name of the Command.

SetUICommandMarkup

Specifies the Ribbon markup for a dynamic control declaration and binds the control to a predefined command.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Uiribbon.dll

IID

IID_IUIFramework2 is defined as 88B7F3F7-947A-4d72-AF91-DB037AFA8F40

See also

IUIFramework