DrawDesignerObjectHandler Delegate
After the user has edited the object, you are asked by List & Label to draw the object. The event DrawDesignerObject is triggered for this purpose. A Graphics object and the rectangle of the object are passed through EventArguments. Now, you can draw in the work area with the known GDI + methods. While doing so, access to the underlying object properties is naturally possible and useful. The sample listing shows the presentation of the graphic file selected above.
Platforms: Windows 10, Windows 11, Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 10, .NET 11