| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected