Hello GitHub
This commit is contained in:
		
							
								
								
									
										26
									
								
								src/Calculator/Controls/OverflowTextBlockAutomationPeer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/Calculator/Controls/OverflowTextBlockAutomationPeer.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||||
| // Licensed under the MIT License. | ||||
|  | ||||
| #include "pch.h" | ||||
| #include "Controls\OverflowTextBlock.h" | ||||
| #include "OverflowTextBlockAutomationPeer.h" | ||||
|  | ||||
| using namespace Windows::UI::Xaml::Automation::Peers; | ||||
| using namespace Windows::Foundation::Collections; | ||||
|  | ||||
| namespace CalculatorApp::Controls | ||||
| { | ||||
|     OverflowTextBlockAutomationPeer::OverflowTextBlockAutomationPeer(OverflowTextBlock^ owner) : | ||||
|         FrameworkElementAutomationPeer(owner) | ||||
|     { } | ||||
|  | ||||
|     AutomationControlType OverflowTextBlockAutomationPeer::GetAutomationControlTypeCore() | ||||
|     { | ||||
|         return AutomationControlType::Text; | ||||
|     } | ||||
|  | ||||
|     IVector<AutomationPeer^>^ OverflowTextBlockAutomationPeer::GetChildrenCore() | ||||
|     { | ||||
|         return nullptr; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user