API Documentation > CorelDRAW > 2025-v26 > Controls > ICUIControls
Controls.AddToggleButton method
Adds a user toggle button to the collection that shows/hides the given user interface element
Syntax:
Function AddToggleButton(ByVal Guid As String, Optional ByVal Index As Long = 0, Optional ByVal Temporary As Boolean = False) As Control
Parameters:
Name Type Description
Guid
String
Index
Long
Temporary
Boolean