Hide or Disable graphing calculator menu item when necessary (#848)

This commit is contained in:
Rudy Huyn
2019-12-06 15:03:07 -08:00
committed by GitHub
parent 81747a0a93
commit 503831895d
8 changed files with 369 additions and 297 deletions

View File

@@ -499,6 +499,7 @@ MUXC::NavigationViewItem ^ MainPage::CreateNavViewItemFromCategory(NavCategory ^
item->Content = category->Name;
item->AccessKey = category->AccessKey;
item->IsEnabled = category->IsEnabled;
item->Style = static_cast<Windows::UI::Xaml::Style ^>(Resources->Lookup(L"NavViewItemStyle"));
AutomationProperties::SetName(item, category->AutomationName);