Named Properties
Last updated
Last updated
Some SQLWindows/Team Developer applications use Named Properties (also knows as Quick Objects properties) to store custom information in the outline. Usually these properties have been used by developers to persist custom settings using custom developed configuration editors.
Named Properties are ported into the InitializeComponent() method and loaded into the NamedProperties collection. It is already a big advantage to be able to see the Named Properties directly in the code. The PPJ Framework implements a default editor for the NamedProperties collection that can be used to edit all the properties assigned to a control.
The editor is associated to the NamedProperties property and can be started from the property editor in Visual Studio, as shown in the image below:
The editor is very simple and uses Visual Studio's standard editor dialog, shown in the image below. It is possible to implement a custom editor using the System.ComponentModel classes and attributes to override the PPJ Framework default editor.