RVTDocs.com
Namespace: Autodesk.Revit.UI

ToggleButton

Class
Description:
The ToggleButton object represents a button that has been added to a RadioButtonGroup.
Remarks:
Use of this class is not supported in Revit Macros.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.RibbonItem
    Autodesk.Revit.UI.RibbonButton
      Autodesk.Revit.UI.PushButton
        Autodesk.Revit.UI.ToggleButton
Syntax
public class ToggleButton : PushButton
ToggleButton Class Members:
Name Description Inherited From
AssemblyName The assembly path of the button. (Inherited from PushButton ) PushButton
AvailabilityClassName The full class name for the class providing the entry point to decide availability of this push button. (Inherited from PushButton ) PushButton
ClassName The name of the class containing the implementation for the command. (Inherited from PushButton ) PushButton
Enabled Gets or sets a value indicating whether the item is enabled. (Inherited from RibbonItem ) RibbonItem
Image The image of the button. (Inherited from RibbonButton ) RibbonButton
IsEnabledByContext Indicates if this button can be executed. True if the pushbutton is permitted to be executed based on the current Revit context (active document, active view and active tool). False if the pushbutton is disabled because of the active context. (Inherited from RibbonButton ) RibbonButton
ItemText Gets or sets the text displayed on the item. (Inherited from RibbonItem ) RibbonItem
ItemType Gets the item type. (Inherited from RibbonItem ) RibbonItem
LargeImage The large image shown on the button. (Inherited from RibbonButton ) RibbonButton
LongDescription Long description of the command tooltip (Inherited from RibbonItem ) RibbonItem
Name The name of the item. (Inherited from RibbonItem ) RibbonItem
ToolTip The description that appears as a ToolTip for the item. (Inherited from RibbonItem ) RibbonItem
ToolTipImage The image to show as a part of the button extended tooltip (Inherited from RibbonItem ) RibbonItem
Visible Gets or sets a value indicating whether the item is visible. (Inherited from RibbonItem ) RibbonItem
Name Description Inherited From
Equals Determines whether the specified Object is equal to the current Object . (Inherited from RibbonItem ) RibbonItem
GetContextualHelp Gets the contextual help bound with this control. (Inherited from RibbonItem ) RibbonItem
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
SetContextualHelp Sets the contextual help bound with this button. (Inherited from RibbonItem ) RibbonItem
ToString Returns a string that represents the current object. (Inherited from Object ) Object