Always-on-Top mode implemented (#579)
This commit is contained in:
		
				
					committed by
					
						 Pepe Rivera
						Pepe Rivera
					
				
			
			
				
	
			
			
			
						parent
						
							af8322617f
						
					
				
				
					commit
					796d171960
				
			| @@ -4,6 +4,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "Views/TitleBar.g.h" | ||||
| #include "CalcViewModel\ApplicationViewModel.h" | ||||
|  | ||||
| namespace CalculatorApp | ||||
| { | ||||
| @@ -18,6 +19,9 @@ public | ||||
|     public: | ||||
|         TitleBar(); | ||||
|  | ||||
|         DEPENDENCY_PROPERTY_OWNER(TitleBar); | ||||
|         DEPENDENCY_PROPERTY(ViewModel::ApplicationViewModel ^, ApplicationViewModel); | ||||
|  | ||||
|     private: | ||||
|         void OnLoaded(_In_ Object ^ sender, Windows::UI::Xaml::RoutedEventArgs ^ e); | ||||
|         void OnUnloaded(_In_ Object ^ sender, Windows::UI::Xaml::RoutedEventArgs ^ e); | ||||
| @@ -26,7 +30,6 @@ public | ||||
|         void SetTitleBarVisibility(); | ||||
|         void SetTitleBarPadding(); | ||||
|         void SetTitleBarControlColors(); | ||||
|         void SetTitleBarExtendView(); | ||||
|         void ColorValuesChanged(_In_ Windows::UI::ViewManagement::UISettings ^ sender, _In_ Platform::Object ^ e); | ||||
|         void OnHighContrastChanged(Windows::UI::ViewManagement::AccessibilitySettings ^ sender, Platform::Object ^ args); | ||||
|         void OnWindowActivated(Platform::Object ^ sender, Windows::UI::Core::WindowActivatedEventArgs ^ e); | ||||
| @@ -39,5 +42,6 @@ public | ||||
|         Windows::Foundation::EventRegistrationToken m_accessibilitySettingsToken; | ||||
|         Windows::UI::ViewManagement::UISettings ^ m_uiSettings; | ||||
|         Windows::UI::ViewManagement::AccessibilitySettings ^ m_accessibilitySettings; | ||||
|         void AlwaysOnTopButtonClick(Platform::Object ^ sender, Windows::UI::Xaml::RoutedEventArgs ^ e); | ||||
|     }; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user