Exemplo n.º 1
0
 void RegisterFlyoutEvents()
 {
     if (Flyout != null)
     {
         Flyout.Opened += OnFlyoutOpened;
         Flyout.Closed += OnFlyoutClosed;
         m_flyoutPlacementChangedRevoker = Flyout.RegisterPropertyChangedCallback(FlyoutBase.PlacementProperty, OnFlyoutPlacementChanged);
     }
 }