Share

ContextualHelp Class

Contains the details for how Revit should allow invocation of contextual help for an item added by an application.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.UI.ContextualHelp


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public class ContextualHelp

The ContextualHelp type exposes the following members.

Constructors

 NameDescription
Public methodContextualHelpConstructs a contextual help object.

Properties

 NameDescription
Public propertyHelpPathThe context id, help URL, or help file path.
Public propertyHelpTopicUrlThe help topic URL.
Public propertyHelpTypeThe contextual help type.

Methods

 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLaunchLaunches and displays the help topic specified by the contents of this ContextualHelp object.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

An instance of this class may be used to assign a contextual help location to any RibbonItem (through the RibbonItem.SetContextualHelp() method). It is also possible to use an instance of this class to launch the help path and topic at any time (this permits association of help topics with user interface components inside dialogs created by the add-in application).

See Also

Reference

Was this information helpful?