Fixes #4023 - Changes CommandEventArgs to be based on HandledEventArgs instead of CancelEventArgs (#4054)

* touching publish.yml

* CancelEventArgs->HandledEventArgs

* Fixed Handled issues
This commit is contained in:
Tig
2025-05-09 09:04:38 -06:00
parent e3e02e9218
commit 6f6c2d3320
51 changed files with 258 additions and 226 deletions

View File

@@ -246,7 +246,7 @@ public class CheckBoxTests (ITestOutputHelper output)
void ViewOnAccept (object sender, CommandEventArgs e)
{
acceptInvoked = true;
e.Cancel = true;
e.Handled = true;
}
}
@@ -313,7 +313,7 @@ public class CheckBoxTests (ITestOutputHelper output)
checkBox.Accepting += (s, e) =>
{
acceptCount++;
e.Cancel = true;
e.Handled = true;
};
checkBox.HasFocus = true;
@@ -596,7 +596,7 @@ public class CheckBoxTests (ITestOutputHelper output)
void OnSelecting (object sender, CommandEventArgs e)
{
checkedInvoked = true;
e.Cancel = true;
e.Handled = true;
}
}