Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to close a popup wpf c# on click event

<Popup local:ClosePopupBehavior.PopupContainer="{Binding ElementName=Window}"
        IsOpen="{Binding ElementName=ToggleButton1,
                         Path=IsChecked}"
        PlacementTarget="{Binding ElementName=ToggleButton1}">
     <Border Width="200"
             Height="100"
             Background="LightBlue" />
 </Popup>
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #close #popup #wpf #click #event
ADD COMMENT
Topic
Name
3+9 =