-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
It may be similar to dynamic rendering, I'm not sure, but I will just state the goal: property grids.
I am working with <insert-third-party-component-here/>
, suffice to say VendorDataGrid
as a basis, and a RYO view model approach, that takes the target object for which we want the property grid, and, thanks to the magic of Reflection, identifies the properties and corresponding property view models for those properties for the property grid approach.
I can handle probably 80-90% of the conceivable use cases within the core PG asset itself, but there are moments when a custom display and/or editor view would be handy, as provided by the view model.
So I wonder if a framework such as this might be possible given the Blazor rendering constraints, that is, view model provides, say, an instance of ComponentBase, whatever that may be, as a basis for an editor view. All the back end wiring is done by the property grid property view models themselves, I just want for a view to ostensibly potentially provide a view for itself to the parent property grid.
Thanks...