This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
How can I add gridlines to the MulticolumnTreeView? |
|
|
You can partially achieve this by applying a border to your cell templates: <DataTemplate x:Key="EnglishNameTemplate"> Note you will need to use a slightly different margin and padding on the first column to allow for the expander glyph. However if your columns don't fill the entire width of the control then this will leave empty whitespace at the right hand end. If you want the lines to extend all the way to the right then you need to template the MulticolumnTreeViewItem: <Style x:Key="ics" TargetType="ms:MulticolumnTreeViewItem"> <ms:MulticolumnTreeView ItemContainerStyle="{StaticResource ics}" /> In this case you will not need the bottom part of the item border and can change the cell template border thicknesses to "0,0,1,0". |
|