mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-19 21:03:11 -07:00
Refactored XAML x:Names (#433)
Description of the changes: -Refactored all x:Names to use the generally accepted Pascal-Casing How changes were validated: Unit Tests Manual Tests
This commit is contained in:
parent
de65db6197
commit
8520d3fc74
22 changed files with 544 additions and 543 deletions
|
@ -53,7 +53,7 @@ UnitConverter::UnitConverter() :
|
|||
InitializeComponent();
|
||||
|
||||
// adding ESC key shortcut binding to clear button
|
||||
clearEntryButtonPos0->SetValue(Common::KeyboardShortcutManager::VirtualKeyProperty, Common::MyVirtualKey::Escape);
|
||||
ClearEntryButtonPos0->SetValue(Common::KeyboardShortcutManager::VirtualKeyProperty, Common::MyVirtualKey::Escape);
|
||||
|
||||
m_layoutDirection = LocalizationService::GetInstance()->GetFlowDirection();
|
||||
if (m_layoutDirection == ::FlowDirection::RightToLeft)
|
||||
|
@ -291,7 +291,7 @@ void UnitConverter::SetDefaultFocus()
|
|||
Value1,
|
||||
CurrencyRefreshBlockControl,
|
||||
OfflineBlock,
|
||||
clearEntryButtonPos0
|
||||
ClearEntryButtonPos0
|
||||
};
|
||||
|
||||
for (Control^ control : focusPrecedence)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue