MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / Bar_SizeChanged

Method Bar_SizeChanged

FastCopy/ProgressBarEx.xaml.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void ProgressBarEx::Bar_SizeChanged(winrt::Windows::Foundation::IInspectable const&, winrt::Microsoft::UI::Xaml::SizeChangedEventArgs const&)
87 {
88 auto const width = Bar().ActualWidth();
89 if (m_propertySet && width != 0 && !std::isnan(width))
90 m_propertySet.InsertScalar(L"width", width);
91 }
92}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected