Home » FAQ » Blazor » How do I capture a mouse event out of the component in Blazor?
You have to use the onmouseout event binding to capture a mouse leave event for a component.
<div onmouseover=@MouseOver onmouseout=@MouseOut> Hover over me </div>
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with