Allow access to Element property when inheriting RadzenComponent #769

Closed
opened 2026-01-29 17:43:05 +00:00 by claunia · 0 comments
Owner

Originally created by @scottfridwin on GitHub (Mar 13, 2023).

Is your feature request related to a problem? Please describe.
Creating custom component that inherit the RadzenComponent class are unable to use the Element property.

Describe the solution you'd like
Change the setter for RadzenComponent.Element to protected instead of internal.

Describe alternatives you've considered
No alternatives except removing the inheritance.

Additional context
I found a few other mentions of this issue.
https://github.com/radzenhq/radzen-blazor/issues/79
https://forum.radzen.com/t/wasm-components-inheritance/10281

There may be a design reason for keeping the setter internal, but if there is not it would be very convenient to allow inheritance.

Originally created by @scottfridwin on GitHub (Mar 13, 2023). **Is your feature request related to a problem? Please describe.** Creating custom component that inherit the RadzenComponent class are unable to use the Element property. **Describe the solution you'd like** Change the setter for RadzenComponent.Element to `protected` instead of `internal`. **Describe alternatives you've considered** No alternatives except removing the inheritance. **Additional context** I found a few other mentions of this issue. https://github.com/radzenhq/radzen-blazor/issues/79 https://forum.radzen.com/t/wasm-components-inheritance/10281 There may be a design reason for keeping the setter internal, but if there is not it would be very convenient to allow inheritance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#769