Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use RadzenComponent.Element in inheritance #79

Closed
bazarniy opened this issue Mar 23, 2021 · 1 comment
Closed

Cannot use RadzenComponent.Element in inheritance #79

bazarniy opened this issue Mar 23, 2021 · 1 comment

Comments

@bazarniy
Copy link

bazarniy commented Mar 23, 2021

Hi guys!
I'm trying to make my oun component inherited from RadzenComponent. Element property has "internal set". So using @ref="@element" generates compile errors.

UPDATE

Is your feature request related to a problem? Please describe.
Cannot use "Element" property in RadzenComponent after inheritance

Describe the solution you'd like
Make protected or public setter there

Describe alternatives you've considered

Additional context

public ElementReference Element { get; internal set; }

@akorchev
Copy link
Collaborator

This issue does not follow any of the accepted templates as well as your other issues. Please address that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants