Creating a control

A framework project can contain any number of controls. Each control is stored in its own folder, along with all associated files.

A control can be created based on TypeScript or JavaScript. Both have the same technical options and are very similar in terms of programming. Due to the better programming support offered by Visual Studio, TypeScript should be selected for new controls.

To create a new control, right-click on the destination folder in the context menu and select Add new Item.

Creating a control 1:

A new folder is then created with the chosen name. This folder contains all the important files of a control.

The control is still automatically entered in the Manifest.json file.

It then becomes part of the project and can be used as a project reference or NuGet package, for example. See Integrating a project.