private void Fly_Opened(object sender, object e)
        {
            Flyout            fly     = (Flyout)sender;
            EditEffectControl control = (EditEffectControl)fly.Content;

            control.Width = ActualWidth - 2;
        }
        public void ShowEffectPropertyFlyout()
        {
            EditEffectControl editControl = new EditEffectControl();

            editControl.Initialize(Effect);

            Flyout fly = new Flyout();

            fly.Content   = editControl;
            fly.Opened   += Fly_Opened;
            fly.Placement = FlyoutPlacementMode.Left;

            fly.ShowAt(this);
        }