<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xceed.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Xceed DataGrid for WPF</title><link>http://xceed.com/CS/forums/35/ShowForum.aspx</link><description>Community support section for Xceed DataGrid for WPF, Xceed 3D Views for WPF, Xceed Editors for WPF, and Xceed Professional Themes for WPF</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Re: Hiding Grouped Rows</title><link>http://xceed.com/CS/forums/thread/32166.aspx</link><pubDate>Tue, 29 May 2012 02:35:43 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32166</guid><dc:creator>Marc [Xceed]</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/32166.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=35&amp;PostID=32166</wfw:commentRss><description>&lt;p&gt;Hi Jake,&lt;/p&gt;&lt;p&gt;Instead of returning Hidden when it is not the bottom level, have it return Collapsed as the visibility. This will do the trick. Also, you might want to play around with the indenting of the Groups when the grouping levels start to accumulate. To do this, you will need to tinker with the template. &lt;br&gt;&lt;/p&gt;</description></item><item><title>Re: Hiding Grouped Rows</title><link>http://xceed.com/CS/forums/thread/32152.aspx</link><pubDate>Fri, 25 May 2012 15:10:49 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32152</guid><dc:creator>Jacob</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/32152.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=35&amp;PostID=32152</wfw:commentRss><description>&lt;p&gt;Hey Marc,&amp;nbsp;&lt;/p&gt;&lt;p&gt;If we switch the control over to the TableView what would we have to do to get the white space in the rows to not be shown? I tried just switching it over to the TableView with the same code I posted above and the white space is still&amp;nbsp;visible.&lt;/p&gt;&lt;p&gt;&amp;nbsp;--Jake&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hiding Grouped Rows</title><link>http://xceed.com/CS/forums/thread/32147.aspx</link><pubDate>Thu, 24 May 2012 23:43:25 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32147</guid><dc:creator>Marc [Xceed]</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/32147.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=35&amp;PostID=32147</wfw:commentRss><description>&lt;p&gt;Hi Jacob,&lt;/p&gt;&lt;p&gt;This is normal because you are using TableflowView. The GroupHeaderControl area will always be calculated and assigned to the DataGrid whether it is visible or not. This is because of the smooth scrolling and the animations. The only other solution would be to use TableView, but then you will lose all scrolling animations. Currently, there is no other way except for the way you have coded it. &lt;br&gt;&lt;/p&gt;</description></item><item><title>Hiding Grouped Rows</title><link>http://xceed.com/CS/forums/thread/32144.aspx</link><pubDate>Thu, 24 May 2012 14:49:30 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:32144</guid><dc:creator>Jacob</dc:creator><slash:comments>0</slash:comments><comments>http://xceed.com/CS/forums/thread/32144.aspx</comments><wfw:commentRss>http://xceed.com/CS/forums/commentrss.aspx?SectionID=35&amp;PostID=32144</wfw:commentRss><description>&lt;p&gt;Hello, we're trying to style the XCeed WPF datagrid so it has a consistent look with the rest of our application and it was decided to try to hide the grouped rows in the Datagrid. Basically our user interface developer created a style that targets the type GroupHeaderControl which is what shows up when you group something. He created a converter:&lt;/p&gt;&lt;p&gt;&amp;lt;Style TargetType="{x:Type xcdg:GroupHeaderControl}"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Setter Property="Visibility" Value="{Binding RelativeSource={RelativeSource Self}, Path=Group, Converter={StaticResource myVisibilityConverter}}" /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;That sets the visibility of the various GroupHeaders based on the IsBottomLevel property of the&amp;nbsp;Xceed.Wpf.DataGrid.Group.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;class myVisibilityConverter : IValueConverter&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (value == null)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((value as Xceed.Wpf.DataGrid.Group) == null)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((value as Xceed.Wpf.DataGrid.Group).IsBottomLevel)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return Visibility.Visible;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;	&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Group group = (Group)value;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return Visibility.Hidden;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This seems to work fine in hiding the actual rows in the Datagrid but then i'm left with large white gaps where the hidden rows should have been.&amp;nbsp;&lt;/p&gt;&lt;p&gt;(tried to attach image of the sample project showing the issue, but it&amp;nbsp;doesn't&amp;nbsp;seem to be working)&lt;/p&gt;&lt;p&gt;http://s18.postimage.org/jzgzcr515/Datagrid.png&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas on how to fix this issue would be welcome.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;--Jake&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>