Popup popUpControl = new Popup();
popUpControl.PlacementTarget = this;
popUpControl.StaysOpen = true;
popUpControl.Child = new MyUserControl(); /// my user control
popUpControl.Opacity = 0.5; // this code has no effect in the appearance of the popup
popUpControl.IsOpen = true;
Comment faire?L'opacité ne s'applique pas au contrôle contextuel WPF
Merci Jay .. Cela a fonctionné :) – Subindev