How this make in XAML without ListView and TreeListView
A:
maybe like this : http://www.codeproject.com/KB/WPF/TreeViewWithCheckBoxes.aspx
Nuchl
2010-03-24 10:23:31
CheckBoxes shouldn't place near expander. They have to stay in one column.
sergo_lsn
2010-03-24 10:49:28
Thanks a lot. I did it.
sergo_lsn
2010-03-25 09:26:55
A:
<TreeView>
<TreeView.ItemContainerStyle>
<Style
TargetType='TreeViewItem'>
<Setter
Property='Template'>
<Setter.Value>
<ControlTemplate
TargetType='TreeViewItem'>
<StackPanel
Orientation='Horizontal'>
<CheckBox
Width='40'
Content='A' />
<CheckBox
Width='40'
Content='B' />
<!--
the rest of the TreeViewItem template here
http://msdn.microsoft.com/en-us/library/ms788727.aspx
-->
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</TreeView.ItemContainerStyle>
Sergey Galich
2010-03-24 14:22:58