Click here to Skip to main content

Silverlight / WPF

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: mouse click Pinmembermichaelgr122:04 22 Feb '12  
AnswerRe: mouse click PinmvpAbhinav S0:49 23 Feb '12  
QuestionTreeview Expand/Collapse icons on right side in WPF PinmemberRaajTalluri18:08 22 Feb '12  
QuestionMerge cells - Silverlight PinmemberLê Tùng Lâm15:12 22 Feb '12  
AnswerRe: Merge cells - Silverlight PinmvpAbhinav S18:27 22 Feb '12  
GeneralRe: Merge cells - Silverlight PinmemberLê Tùng Lâm15:04 23 Feb '12  
Questionleft button context menu Pinmembermichaelgr12:40 22 Feb '12  
Hello,
I have a popup which is opened on button click.
<Popup Name="MenuPopUp" IsOpen="False" PlacementTarget="{Binding ElementName=dropDownbtn}" Placement="Top" LostFocus="MenuPopUp_LostFocus" MouseLeftButtonDown="MenuPopUp_MouseLeftButtonDown">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <MenuItem Grid.Row="0" Name="ViewReportItem" Header="View Report" Command="{Binding ViewReportCommand}"/>
                <MenuItem Grid.Row="1" Name="ExportReportItem" Header="Export Report" Command="{Binding ExportReportCommand}"/>
                <MenuItem Grid.Row="2" Name="AbortReportItem" Header="Abort Report" Command="{Binding AbortReportCommand}"/>
            </Grid>
        </Popup>
 

I want the popup to stay on screen unless i click somewhere else in the UserControl.
This UserControl is small part of a big UserControl which is working using MVVM and PRISM
 
How can i do it?
Questioncontext menu Pinmembermichaelgr11:35 22 Feb '12  
AnswerRe: context menu PinprotectorPete O'Hanlon2:36 22 Feb '12  
GeneralRe: context menu Pinmembermichaelgr12:46 22 Feb '12  
QuestionView Refresh Problem PinmemberKevin Marois8:45 21 Feb '12  
AnswerRe: View Refresh Problem PinprotectorPete O'Hanlon8:56 21 Feb '12  
GeneralRe: View Refresh Problem PinmemberKevin Marois9:05 21 Feb '12  
GeneralRe: View Refresh Problem PinprotectorAspDotNetDev9:08 21 Feb '12  
AnswerRe: View Refresh Problem PinprotectorAspDotNetDev9:10 21 Feb '12  
GeneralRe: View Refresh Problem [modified] PinprotectorPete O'Hanlon9:17 21 Feb '12  
GeneralRe: View Refresh Problem PinprotectorAspDotNetDev9:26 21 Feb '12  
GeneralRe: View Refresh Problem PinprotectorPete O'Hanlon9:39 21 Feb '12  
GeneralRe: View Refresh Problem PinmemberKevin Marois13:29 22 Feb '12  
GeneralRe: View Refresh Problem PinprotectorPete O'Hanlon20:07 22 Feb '12  
GeneralRe: View Refresh Problem PinmemberMycroft Holmes13:14 22 Feb '12  
QuestionAccelerator keys on buttons not working PinmemberBernhard Hiller1:13 21 Feb '12  
AnswerRe: Accelerator keys on buttons not working PinprotectorPete O'Hanlon1:32 21 Feb '12  
GeneralRe: Accelerator keys on buttons not working PinmemberBernhard Hiller2:38 21 Feb '12  
GeneralRe: Accelerator keys on buttons not working PinprotectorPete O'Hanlon2:43 21 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid