Add Automation Names to UI Elements in EquationInputArea and KGF Panel (#1133)

* Missing EquationInputArea and KGF Automation Names added

* Updated the KGF back button automation name and tooltip and added the automation name string for the KGF equation edit box

* Reverted the removal of x:names and updated Variable Step Textbox to Variable Step Value Textbox per PR feedback

* Updated the VariableListViewItem narrator announcement to include the name of the variable
This commit is contained in:
Stephanie Anderl 2020-04-09 13:16:05 -07:00 committed by GitHub
parent 07108af967
commit 33b4d18638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 76 additions and 8 deletions

View file

@ -4,6 +4,7 @@
#pragma once
#include "../Common/Utils.h"
#include "CalcViewModel/Common/LocalizationStringUtil.h"
#include "EquationViewModel.h"
namespace CalculatorApp::ViewModel
@ -107,6 +108,15 @@ public
}
}
property Platform::String ^ VariableAutomationName
{
Platform::String ^ get()
{
return CalculatorApp::Common::LocalizationStringUtil::GetLocalizedString(
CalculatorApp::AppResourceProvider::GetInstance()->GetResourceString(L"VariableListViewItem"), Name);
}
}
private:
GraphControl::Variable ^ m_variable;
};