<h2>
    Using Wijmo's Designer to Customize Controls
</h2>
<p>The <a href="http://demos.wijmo.com/5/WijmoDesigner/WijmoDesigner/">Wijmo Designer</a> is a visual designer for creating and configuring Wijmo controls. The Wijmo Designer provides a property grid and live preview similar to what you see in Visual Studio. Use the design surface to create instances of specific controls, customize their properties and events, and generate the corresponding HTML/JavaScript that you can incorporate into your applications. The designer is particularly useful for exploring complex objects such as grids and charts.</p>
<p><a href="http://demos.wijmo.com/5/WijmoDesigner/WijmoDesigner/"><strong>Launch Wijmo Designer</strong></a></p>
<p>When the page first opens, the design surface contains a single <strong>FlexGrid</strong> control with some live sample data. Controls on the design surface are displayed in <em>design mode</em>, which means that you cannot scroll, resize, or otherwise interact with them directly. Instead, you use the <strong>Properties</strong> pane on the right side of the page to manipulate the control's object model. Each available property displays an editor of the appropriate type, and any changes you make there are immediately applied to the selected control.</p>
<p>The <strong>Events</strong> pane, also on the right side, displays a toggle button for each event exposed by the selected control. For each event that is turned on, the designer will emit boilerplate event handling code.</p>
<p>The design surface supports multiple controls with sequential layout. Use the <strong>Edit</strong> toolbar at the top of the page to move, duplicate, or delete controls on the design surface.</p>
<table>
    <thead>
        <tr>
            <th align="left">Command</th>
            <th align="left">Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="left"><strong>Move Up</strong></td>
            <td align="left">Moves the selected control up one position on the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Move Down</strong></td>
            <td align="left">Moves the selected control down one position on the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Duplicate</strong></td>
            <td align="left">Creates a copy of the selected control and inserts it immediately after the original control on the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Delete</strong></td>
            <td align="left">Permanently removes the selected control from the design surface.</td>
        </tr>
    </tbody>
</table>
<p>The name of the selected control instance is displayed to the left of the <strong>Edit</strong> toolbar tab.</p>
<p>The designer's main menu is collapsed initially, and is displayed as a vertical strip of icons. Click the Wijmo logo at the upper left corner of the page to expand the menu, which contains the following commands:</p>
<table>
    <thead>
        <tr>
            <th align="left">Command</th>
            <th align="left">Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="left"><strong>Open</strong></td>
            <td align="left">Prompts the user for a JSON file created with the <strong>Save</strong> command and renders its contents on the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Save</strong></td>
            <td align="left">Downloads the contents of the design surface as a JSON file for subsequent reloading via the <strong>Open</strong> command.</td>
        </tr>
        <tr>
            <td align="left"><strong>Toolbox</strong></td>
            <td align="left">Opens a collapsible panel of Wijmo controls, grouped by module name (<code>grid</code>, <code>chart</code>, <code>input</code>, <code>gauge</code>, <code>nav</code>, <code>olap</code>). Click a control name to add it to the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Themes</strong></td>
            <td align="left">Opens a list of available Wijmo themes. Click a theme name to apply it to all controls on the design surface.</td>
        </tr>
        <tr>
            <td align="left"><strong>Source View</strong></td>
            <td align="left">Switches from design view to source code view.</td>
        </tr>
        <tr>
            <td align="left"><strong>Help</strong></td>
            <td align="left">Displays this page.</td>
        </tr>
        <tr>
            <td align="left"><strong>About</strong></td>
            <td align="left">Displays the Wijmo version number and copyright notice.</td>
        </tr>
    </tbody>
</table>
<p>You can use the <strong>Save</strong> and <strong>Open</strong> commands to store the current state of the designer as a JSON file, then reload its contents back into the designer later on.</p>
<p>To view the contents of the designer as HTML/JavaScript code, use the <strong>Source View</strong> command. In source view, the design surface is replaced with code that contains Wijmo script and CSS references, <code>&lt;div&gt;</code> tags for each control on the design surface, and script code that creates and initializes each control. You can copy code snippets directly from the page or use the <strong>Save</strong> command on the main menu.</p>
<table>
    <thead>
        <tr>
            <th align="left">Command</th>
            <th align="left">Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="left"><strong>Save</strong></td>
            <td align="left">Downloads the contents of the design surface as an HTML file containing Wijmo references and script code matching the control definitions and customizations specified in design view.</td>
        </tr>
        <tr>
            <td align="left"><strong>Design View</strong></td>
            <td align="left">Switches from source code view to design view.</td>
        </tr>
    </tbody>
</table>
<p>To return to the design suface, use the <strong>Design View</strong> command.</p>
