Nevron Open Vision Documentation
Design Time Support Overview

Nevron Open Vision comes with extensive Visual Studio design-time support and integration. Upon installation of NOV you can also choose to integrate the NOV controls in the Visual Studio toolbox by checking the "Register in VS Toolbox" check box. Nevron Open Vision fully supports both the WinForms and the WPF designer and as with everything related to NOV, the designer support is also identical on all platforms.

Note that if you decide to use the Visual Studio designers, you loose the portability of your NOV application and it will no longer be cross-platform, because Visual Studio designers produce platform specific code.
Control Properties and Content

 Editing NOV control properties and content is based around verbs that are shown in a popup window next to the control when you click on the smart tag icon of the control:

Nevron WinForms Smart Tags Nevron WPF Smart Tags

The smart tags let you quickly set the content and the most commonly used properties of the NOV widget. When you click on a command from the popup, a dialog opens and you will be able to configure the respective properties of the NOV widget. The same commands are also available in the context menu of the control that appears when you right click it in the designer. Please note that most of the NOV controls properties can only be accessed and edited through these smart tags and the context menu commands with the same name and not through the Visual Studio properties window. You can also edit NOV controls properties via code by using the Widget property of the control.

Most NOV controls expose the Change Background and the Change Text Fill commands that can be used the change the background and the text (i.e. foreground) fill of the control. Another common command is the Properties command that lets you edit almost all of the properties of the NOV widget in a nicely layouted dialog.

Content controls like NButton, NLabel and so on have and Edit Content command that lets you quickly set some text, an image or both image and text as content of the widget.

Controls that display a collection of items like the NComboBoxControl and the NListBoxControl also provide an Edit Items command that lets you quickly edit their items, each item on a new line.

Control Events
You can use the Events tab of the Visual Studio properties window to subscribe to events related to the NOV controls. Note that most of the controls also have a default event, for example the Click event of an NButtonControl, the SelectedIndexChanged event of an NComboBoxControl, etc. When you double click a control in the designer, Visual Studio will automatically create an event handler for its default event.

The next topics in this chapter discuss in more details the design-time support of the NOV controls for specific platforms.

See Also
Send Feedback