コード例 #1
0
 private void OnFlyoutClosed(object sender, object args)
 {
     m_isFlyoutOpen = false;
     SharedHelpers.RaiseAutomationPropertyChangedEvent(this, ExpandCollapseState.Expanded, ExpandCollapseState.Collapsed);
 }
コード例 #2
0
 private void OnFlyoutOpened(object sender, object args)
 {
     m_isFlyoutOpen = true;
     UpdateVisualStates();
     SharedHelpers.RaiseAutomationPropertyChangedEvent(this, ExpandCollapseState.Collapsed, ExpandCollapseState.Expanded);
 }