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

Blazor DataTransfer wrapper object #14792

Closed
Postlagerkarte opened this issue Oct 7, 2019 · 2 comments
Closed

Blazor DataTransfer wrapper object #14792

Postlagerkarte opened this issue Oct 7, 2019 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components question

Comments

@Postlagerkarte
Copy link

Blazor 3.0:

I can use the DragEventArgs class as parameter to my methods however setting data on some properties has not effect.

e.g. nearly everything releated to the DataTransfer object inside the DragEventArgs is not working.

Is this supposed to work?

If support for the DragEventArgs is not yet implemented then why are those properties read/write in the first place?

@Eilon Eilon added the area-blazor Includes: Blazor, Razor Components label Oct 7, 2019
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @Postlagerkarte.
The properties of the DragEventArgs are writable only for enabling serialization to/from JSON.
These are not meant to alter state in any way.

@Postlagerkarte
Copy link
Author

@mkArtakMSFT : This fact should be documented somewhere. Is this the only EventArgs which is not meant to alter state or are there more?

@ghost ghost locked as resolved and limited conversation to collaborators Dec 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components question
Projects
None yet
Development

No branches or pull requests

3 participants