I need to make the visual representation more efficient and show more items in the same space.
So I want to reduce the padding thats pretty big right now.
Thanks, it took me a while to figure out how to apply the style.
My code looks like this:
<ig:XamDataTree><ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout NodeStyle="{StaticResource NoPadding}"> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Hello,
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have been looking into your question and you can create a style for the ‘XamDataTreeNodeControl’ and set the ‘Padding’ property to ‘0’ like e.g. :
<Style TargetType="igDT:XamDataTreeNodeControl">
<Setter Property="Padding" Value="0"/>
</Style>
The default padding is 5,3.
You can find the default style for the XamDataTree in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\DataTree\generic.xaml
Let me know, if you need any further assistance on this matter.