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

Method OnValueChanged

Xaml/Controls/SwitchPresenter.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace winrt::TranslucentTB::Xaml::Controls::implementation
9{
10 void SwitchPresenter::OnValueChanged(const IInspectable &sender, const wux::DependencyPropertyChangedEventArgs &)
11 {
12 if (const auto that = sender.try_as<SwitchPresenter>())
13 {
14 that->EvaluateCases();
15 }
16 }
17
18 SwitchPresenter::SwitchPresenter()
19 {

Callers

nothing calls this directly

Calls 1

EvaluateCasesMethod · 0.80

Tested by

no test coverage detected