In this topic you can find articles which can help you to add a rich graphic user interface to your applications, by means of personalized controls or new controls made from scratch.
-
28/05/2016
One of the GUI (graphic user interface) controls more versatile that the .NET framework offers is the PropertyGrid. It is a component through which the user can edit all the properties of an object that the developer has configured, allowing structuring them into categories and sort them alphabetically. It also provides many options to customize both presentation and editing of their properties and shows the user a help text on each one of them. In this series I will show a complete tutorial on using this control and its main features, starting with this article on its basic use.
[Read More...] -
04/06/2016
In the previous article in this series I did show how to use the basic features of the PropertyGrid control to edit the properties of a particular object or collection of objects. In this article I will show you the most important events of this control as well as the implementation of custom editors that allow editing of properties of types for which there is no default editor, such as the classes developed by yourself in your program.
[Read More...] -
10/06/2016
To conclude this series on the PropertyGrid control I will show you how to use different type converters derived from the TypeConverter class to customize how they are displayed or edited the properties. The .NET framework provides converters for many types of properties, but you can also easily implement your own converters by deriving a class from TypeConverter or a specialized converter and overloading a few functions.
[Read More...] -
13/01/2017
In this article I will present a custom DataGridView control that allows using formulas composed by arithmetic expressions and references to the different cells of the control. In addition to the class library with the control, I have prepared a small application to show how to use the different features it offers.
[Read More...]