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

Method InitializeComponent

Xaml/Pages/ColorPickerPage.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 { }
14
15 void ColorPickerPage::InitializeComponent()
16 {
17 ComponentConnectorT::InitializeComponent();
18
19 const auto resourceLoader = Windows::ApplicationModel::Resources::ResourceLoader::GetForUIContext(UIContext());
20 Title(winrt::format(L"{} - {} - " APP_NAME,
21 resourceLoader.GetString(GetResourceForState(m_State)),
22 resourceLoader.GetString(L"/TranslucentTB.Xaml/Resources/TrayFlyoutPage_AccentColor/Text")));
23 }
24
25 bool ColorPickerPage::CanMoveCore() noexcept
26 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected