MCPcopy Create free account
hub / github.com/YtFlow/Maple / CoreWindow_Activated

Method CoreWindow_Activated

Maple.App/MainPage.cpp:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 RightPaddingColumn().Width(GridLength{ .Value = coreTitleBar.SystemOverlayRightInset(), .GridUnitType = GridUnitType::Pixel });
44 }
45 void MainPage::CoreWindow_Activated(IInspectable const&, WindowActivatedEventArgs const& args)
46 {
47 UISettings settings{};
48 if (args.WindowActivationState() == CoreWindowActivationState::Deactivated)
49 {
50 AppTitleTextBlock().Foreground(
51 SolidColorBrush{ settings.UIElementColor(UIElementType::GrayText) });
52 }
53 else
54 {
55 AppTitleTextBlock().Foreground(
56 SolidColorBrush{ settings.GetColorValue(UIColorType::Foreground) });
57 }
58 }
59
60 DependencyProperty MainPage::ConfigItemsProperty()
61 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected