Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ListBox Height="224" HorizontalAlignment="Left" Margin="205,10,0,0" Name="lstNodes" VerticalAlignment="Top" Width="128" Grid.RowSpan="2">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal">
- <StackPanel.Resources>
- <l:EnumToTriStateConverter x:Key="TriConverter" />
- </StackPanel.Resources>
- <CheckBox IsThreeState="True" IsChecked="{Binding Path=Permission, Converter={StaticResource TriConverter}, ConverterParameter={x:Static l:NodeStatusTypes.Undefined}}" />
- <TextBlock Text="{Binding Path=Name}" />
- <TextBlock Text="{Binding Path=Permission}" />
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
Add Comment
Please, Sign In to add comment