Share

ItemData Class

Base class used to contain information necessary to construct RibbonItem and ContextMenuItem

Inheritance Hierarchy

System.Object
  Autodesk.Revit.UI.ItemData
    Autodesk.Revit.UI.RibbonItemData


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

Syntax

C#

public class ItemData : IDisposable

The ItemData type exposes the following members.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyName The internal name of the item.
Public propertyToolTip The tooltip of item.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the ItemData
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?