private void OnFlyoutClosed(object sender, object args) { m_isFlyoutOpen = false; SharedHelpers.RaiseAutomationPropertyChangedEvent(this, ExpandCollapseState.Expanded, ExpandCollapseState.Collapsed); }
private void OnFlyoutOpened(object sender, object args) { m_isFlyoutOpen = true; UpdateVisualStates(); SharedHelpers.RaiseAutomationPropertyChangedEvent(this, ExpandCollapseState.Collapsed, ExpandCollapseState.Expanded); }