Created
February 18, 2010 03:35
-
-
Save Vaccano/307311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ToggleButton Grid.Column="1" HorizontalAlignment="Right" Margin="0,2,0,2" Checked="btnFindIterationChecked"> | |
<Grid> | |
<Popup PlacementTarget="{Binding ElementName=chkIteration}" Name="popSelectIteration" Closed="popSelectIteration_Closed" | |
AllowsTransparency="True" StaysOpen="False" PopupAnimation="Fade"> | |
<Border BorderBrush="#FF000000" Background="LightBlue" BorderThickness="1,1,1,1" CornerRadius="8,8,8,8" Padding="5"> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"></RowDefinition> | |
<RowDefinition Height="300"></RowDefinition> | |
<RowDefinition Height="Auto"></RowDefinition> | |
</Grid.RowDefinitions> | |
<TextBlock Foreground="Black" >Select Destination:</TextBlock> | |
<ScrollViewer Grid.Row="1" > | |
<TreeView ItemsSource="{Binding IterationTree}" SelectedItemChanged="TreeView_SelectedItemChanged"> | |
<TreeView.ItemTemplate> | |
<HierarchicalDataTemplate ItemsSource="{Binding Children}"> | |
<StackPanel Orientation="Horizontal"> | |
<TextBlock Text="{Binding PathEnd}" /> | |
</StackPanel> | |
</HierarchicalDataTemplate> | |
</TreeView.ItemTemplate> | |
</TreeView> | |
</ScrollViewer> | |
<Button Grid.Row="2" Background="LightBlue" Content="Clear Selection" Click="btnClear_Click"/> | |
</Grid> | |
</Border> | |
</Popup> | |
</Grid> | |
</ToggleButton> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment