Changes the double-click action associated with a specified target.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void SetAction( DoubleClickTarget target, DoubleClickAction action )
Parameters
- target DoubleClickTarget
- The double-click target whose action will be changed.
- action DoubleClickAction
- The action to assign to the target.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The specified action is not valid for the target element. |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |