MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / ForwardActionKey

Method ForwardActionKey

Xaml/Controls/ActionList.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace winrt::TranslucentTB::Xaml::Controls::implementation
11{
12 void ActionList::ForwardActionKey(const IInspectable &sender, const wux::Input::KeyRoutedEventArgs &args)
13 {
14 using enum Windows::System::VirtualKey;
15
16 if (args.Key() == Enter || args.Key() == Space)
17 {
18 ForwardAction(sender, args);
19 args.Handled(true);
20 }
21 }
22
23 void ActionList::ForwardAction(const IInspectable &sender, const wux::RoutedEventArgs &args)
24 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected