Guest User

Untitled

a guest
May 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 0.87 KB | None | 0 0
  1.         <ListBox Height="224" HorizontalAlignment="Left" Margin="205,10,0,0" Name="lstNodes" VerticalAlignment="Top" Width="128" Grid.RowSpan="2">
  2.             <ListBox.ItemTemplate>
  3.                 <DataTemplate>
  4.                     <StackPanel Orientation="Horizontal">
  5.                         <StackPanel.Resources>
  6.                             <l:EnumToTriStateConverter x:Key="TriConverter" />
  7.                         </StackPanel.Resources>
  8.                         <CheckBox IsThreeState="True" IsChecked="{Binding Path=Permission, Converter={StaticResource TriConverter}, ConverterParameter={x:Static l:NodeStatusTypes.Undefined}}"  />
  9.                         <TextBlock Text="{Binding Path=Name}" />
  10.                         <TextBlock Text="{Binding Path=Permission}" />
  11.                     </StackPanel>
  12.                 </DataTemplate>
  13.             </ListBox.ItemTemplate>
Add Comment
Please, Sign In to add comment