2024
Jan11
.Net 8 assemblies have just been added to the nuget packages. SPG for .Net 6+ is now version 4.2 SFPE for .Net 6+ is now version 2.2.1 On this occasion, I had to update SPG to fix a .Net 8 regression in the KeysConverter class. I've raised this issue with the Microsoft development team and they should fix it for .Net 8 and .Net 9 preview. [...]
2022
Nov18
Since .Net 7 has been released last week, I have added .Net 7 assemblies to the nuget packages. SPG for .Net 6+ is now version 4.1 SFPE for .Net 6+ is now version 2.1 Note that both products are newly labelled "for .Net 6+" to include current and upcoming .Net versions starting from 6. [...]
2022
May25
So far, you were able to configure a category with a specific call, and configure child properties this way: .ForCategory("Credentials", category => category.Comment = "my comment") .ForProperty(x => x.Username, config => config .Category("Credentials", 1) .Id(1000) ) As you can see the calls are at the same level. The property definition had to mention the parent category in order for, let's say, set a sorting index. This kind of mimics the way attributes work. You can attach a [...]
2022
Apr27
The VisualHint web server had been running .Net Framework and Asp.Net Mvc 5 for a long time and I had never developed with Asp.Net Core before. I thought it would make an interesting project to migrate it to Core and the result is now live in front of your eyes. It took me weeks to build it because so many things have changed. Here is a non-exhaustive list of all the impacted areas: Dependency injection (many of my internals migrated to injected services) MVC pipeline Routing Bundling and [...]
2022
Apr13
After releasing Smart PropertyGrid for .Net 6, customers pressed me with questions about whether Smart FieldPackEditor would also be available for the latest version of .Net. The porting was already done but I hadn't updated everything about the build, licensing and publishing as a NuGet package. It is now done. You will find: A trial package on nuget.org. The adapter for SPG is also on nuget.org. The licensed product on a private NuGet server. Usual samples on Github. I took the opportunity to [...]
2022
Apr06
A short time after the final release of SPG for .Net 6, here is an updated version with many new methods added to the Fluent API (+ a crash fix). With it comes a completely new sample that you can find on Github, showing all possibilities of the API. Frankly, it's quite cool, and I'm sure you will give me your ideas to enhance it even more. For the pleasure: // FontColor property is not created because it is later added manually as a child of a Font property .ForProperty(x => x.FontColor, [...]
2022
Mar31
Today is a great day for VisualHint with 2 important news. I'm pleased to announce the officiel release of Smart PropertyGrid for .Net 6 today. It is available as a NuGet package on nuget.org for the trial version and on your private NuGet feed for the purchased version. I have also added a completely new feature allowing you to fill the grid traditionally with SelectedObject and to customize each property with a Fluent API. It means that you can have on one side your business objects without [...]
2022
Mar25
Once more, the idea of this article comes from a question I found on StackOverflow. I would like to automatically expand some nodes in a PropertyGrid loaded with an instance of my SettingsStructure class by using attributes on the properties of that class. Also, I am attempting to have the instance 'remember' whether each property was expanded or not if the user loads that instance again on the PropertyGrid. I was curious to see how easy/difficult it is to get this done in Smart PropertyGrid [...]
2022
Mar24
On internet, I have often seen the following question: I have a collection (a list or a dictionary) and I would like to show a property in the PropertyGrid that allows me to select an item from the collection. This kind of question can be seen in these 2 examples: PropertyGrid --> Select object from List of object PropertyGrid use a ComboBox / LookUp Edit (Attribute Level) I then wondered if it was possible to provide a solution without having to modify SPG. This was quickly found by using the [...]
2022
Mar23
Starting now, future customers can download the trial versions from nuget.org directly inside Visual Studio. SPG for .Net 2 to 4 has ID VisualHint.SmartPropertyGrid.Trial SPG for .Net 6 has ID VisualHint.SmartPropertyGrid-net6.Trial Customers who have purchased SPG will find a key in their customer area to access a private NuGet server where they can download the final version of the product. The documentation has been updated to reflect this new reality. [...]