I want to make my "non client area" in the popup window. How and where can I work with the window code-behind PopupWindowAction? Can I respond to PopupWindowAction window events in a ViewModel UserControl? Application.Current.Windows gives windows but how to manage this window exactly?
<i:Interaction.Triggers> <prism:InteractionRequestTrigger SourceObject="{Binding CustomPopupRequest}"> <prism:PopupWindowAction IsModal="True" WindowStartupLocation="CenterOwner" > <prism:PopupWindowAction.WindowStyle> <Style TargetType="{x:Type Window}"> <Setter Property="WindowStyle" Value="None"/> <Setter Property="WindowChrome.WindowChrome"> <Setter.Value> <WindowChrome UseAeroCaptionButtons="False" CaptionHeight="0"/> </Setter.Value> </Setter> </Style> </prism:PopupWindowAction.WindowStyle> <prism:PopupWindowAction.WindowContent> <views:AddObjectUserControl /> </prism:PopupWindowAction.WindowContent> </prism:PopupWindowAction> </prism:InteractionRequestTrigger> </i:Interaction.Triggers>