RVTDocs.com
Namespace: Autodesk.Revit.UI Class: PushButton

PushButton.ClassName

Property
Description:
The name of the class containing the implementation for the command.
Remarks:
The class name which implements the interface IExternalCommand.
Syntax
public string ClassName { get; set; }
Exceptions
Exception Condition
ArgumentNullException Thrown when setting the value to.
ArgumentException Thrown when setting the value to an empty string.
InvalidOperationException Thrown when setting the value to a ToggleButton which is not initialized with an external command.