Skip to content

UIControlledApplication.RegisterContextMenu

Public Class

Adds a new context menu creator.

Namespace: Autodesk.Revit.UI

Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public void RegisterContextMenu(
string fullClassName,
IContextMenuCreator creator
)

Parameters

fullClassNameString

FullClassName of the application.

creator IContextMenuCreator

Your add-in’s implementation of the IContextMenuCreator interface.

Remarks

For details about the use of IContextMenuCreator, see IContextMenuCreator.