TabbedDialogExtension Constructor

TabbedDialogExtension Constructor

Constructs a extension instance with a control and ok action handler.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public TabbedDialogExtension(
	UserControl userControl,
	TabbedDialogAction onOK
)
Public Sub New ( 
	userControl As UserControl,
	onOK As TabbedDialogAction
)
public:
TabbedDialogExtension(
	UserControl^ userControl, 
	TabbedDialogAction^ onOK
)
new : 
        userControl : UserControl * 
        onOK : TabbedDialogAction -> TabbedDialogExtension

Parameters

userControl  UserControl
The control.
onOK  TabbedDialogAction
The ok action handler.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when userControl or onOK is .
ArgumentExceptionThrown when userControl is already bound to another tabbed dialog.
See Also