Skip to content

Add DynamicComponent component #26781

@mwpowellhtx

Description

@mwpowellhtx

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

Metadata

Metadata

Labels

DoneThis issue has been fixedaffected-mostThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-majorThis label is used by an internal tool

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions