VisualHint's blog

Smart PropertyGrid and Smart FieldPackEditor for .Net 7

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. [...]

Fluent API updated

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 [...]

VisualHint runs now on Asp.Net Core 6

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 [...]

Smart FieldPackEditor Final for .Net 6, version 2.0.0, is released

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 [...]

Smart PropertyGrid Final for .Net 6, version 4.0.1, is released

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, [...]

Smart PropertyGrid Final for .Net 6, version 4.0, is released + new Fluent API

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 [...]

Initial expanded state of properties and PropertyGrid state saving/restoring

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 [...]

Smart PropertyGrid makes it super easy to select an item in a collection property

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 [...]

Smart PropertyGrid is available as NuGet packages

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. [...]

Smart PropertyGrid for .Net 6 RC is available

Many of my customers are currently migrating their applications to .Net 6 and it was important to port SPG to this new .Net version. So, I am happy to announce today the availability of SPG for WinForms / .Net 6, for now in a Release Candidate 2 version. Here is what you need to know if you want to use it: SPG is now available through a private NuGet feed. Its URL is viewable in your customer dashboard. The trial will soon be available on nuget.org too. For those who buy the product with the [...]