Share

SeparatorItem Class

A class representing a context menu separator.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.UI.MenuItem
    Autodesk.Revit.UI.SeparatorItem


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

Syntax

C#

public class SeparatorItem : MenuItem

The SeparatorItem type exposes the following members.

Constructors

 NameDescription
Public methodSeparatorItem Default constructor.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from MenuItem)

Methods

 NameDescription
Public methodDispose
(Inherited from MenuItem)
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)

Remarks

A separator can be added between menu items when needed.

See Also

Reference

Was this information helpful?