You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you focus on the Click event, a menu appear to allow you to add an event handler. However, this menu does not function correctly. The issues are as follows:
It creates a function named Button_Click instead of BtnTest_Click, which is inconsistent with the naming convention based on the button's name.
The generated Button_Click function is not actually created in the code-behind file.
You cannot navigate to the Button_Click function using either Ctrl+Left Mouse Click or through a hotkey.
To Reproduce
To improve clarity and maintainability, it would be better if the automatically generated method followed the naming convention of the control, and was properly implemented in the code-behind for easy navigation.
AvaloniaVS plugin version
11.8
Avalonia version
11.2
Visual Studio version
17.12.1
Relevant log output
sorry, there is no message to send.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Just a sample:
<Button x:Name="BtnTest" Click=""/>
When you focus on the
Click
event, a menu appear to allow you to add an event handler. However, this menu does not function correctly. The issues are as follows:Button_Click
instead ofBtnTest_Click
, which is inconsistent with the naming convention based on the button's name.Button_Click
function is not actually created in the code-behind file.Button_Click
function using eitherCtrl+Left Mouse Click
or through a hotkey.To Reproduce
To improve clarity and maintainability, it would be better if the automatically generated method followed the naming convention of the control, and was properly implemented in the code-behind for easy navigation.
AvaloniaVS plugin version
11.8
Avalonia version
11.2
Visual Studio version
17.12.1
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: