Please see the manuals and source code of the demo pages for details on creating and using the controls.