Adds the provided control to the collection
The toolbar control to add to the collection
Adds a new zoom control to the control collection and saves its reference
The zoom control to add to the collection
Disables the toolbar control. This will also gets called when toolbar containing the control gets disabled. Note: If the control needs to do additional sync/async taks (e.x checking on user permission), create override method for disable.
Enables the toolbar control. This will also gets called when toolbar containing the control gets enabled. Note: If the control needs to do additional sync/async taks (e.x checking on user permission), create override method for enable.
Retrieves the toolbar control with the specified identifier
The element identifier
First toolbar control element matching ${id} or null if none present
Hides the toolbar control.
Removes the provided toolbar control from the collection
The toolbar control to remove from the collection
Whether or not item was removed
Removes a zoom control from the control collection and its reference
The zoom control to remove from the collection
Tracks the zoom level of the viewer and disables certain zoom controls when zoom limits are reached
the current viewer zoom
Shows the toolbar control.
Special IControlCollection for zoom controls