Cannot bind to style when binding to events
I'm using Blazor 0.3.0 and whenever I bind to an event any bind to 'style' breaks.
I have a sample app at https://github.com/rpedretti/BlazorApp on branch version_0_3_0 that the bug can be reproduced, but I guess it' happens in any project
Given a simple tag like
<p onmouseover="@ViewModel.OnComponentHover"
style="background: @ViewModel.ParentBgColor;" />
The compiler throws
Error Component attributes do not support complex content (mixed C# and markup). Attribute: 'style', text 'background:ViewModel.ParentBgColor;
and even the intellisense breakes:

By removing any of the properties the project compiles beautifully and intellisense works again.

this is a known issue, it works in 0.4.0 aspnet/Blazor#753
Actually I no longer thing this is fixed in 0.4.0. Needs more investigation.
Do you need more info?
No, the repro info above is sufficient. Thanks for reporting it! We'll investigate.
I'll take a look at this.
This should be fixed in dev as part of the upcoming 0.4 release
I'm using 0.5.1 and still having this issue. In my case it's happening when using a BlazorStrap Image component. I notice that if I use a plain HTML img the problem goes away.
@vargonian Please open an issue with your steps for reproducing the issue and we'll take a look.