ToggleButton Class


The ToggleButton object represents a button that has been added to a RadioButtonGroup.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2011

Syntax

C#
public class ToggleButton : PushButton
Visual Basic
Public Class ToggleButton _
	Inherits PushButton
Visual C++
public ref class ToggleButton : public PushButton

Remarks

Use of this class is not supported in Revit Macros.

Inheritance Hierarchy

SystemObject
  Autodesk.Revit.UIRibbonItem
    Autodesk.Revit.UIRibbonButton
      Autodesk.Revit.UIPushButton
        Autodesk.Revit.UIToggleButton

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →