﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - WPF UXGridViewExpander Column with Row Details</title><link>http://www.intersoftsolutions.com/Community/ClientUI/WPF-UXGridViewExpander-Column-with-Row-Details/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WPF UXGridViewExpander Column with Row Details</title><link>http://www.intersoftsolutions.com/Community/ClientUI/WPF-UXGridViewExpander-Column-with-Row-Details/</link><pubDate>Tue, 07 Oct 2014 08:34:06 GMT</pubDate><dc:creator>Hans</dc:creator><category>UXGridView UXGridViewExpander</category><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;Thank you for waiting.&lt;br&gt;&lt;br&gt;I got news from the developer team about how to achieve your scenario.&lt;br&gt;&lt;br&gt;To show you how to do that, I will use one of UXGridView sample in ClientUI. I will modify the default page of ‘&lt;em&gt;UXGridView/Reference&lt;/em&gt;’ samples, named ‘&lt;em&gt;Baseball Hall of Fame&lt;/em&gt;’ page.&lt;br&gt;You could found the ClientUI Samples in “&lt;em&gt;C:\Program Files (x86)\Intersoft Solutions\Intersoft Premier Studio 2014 R1\Samples\SL5\cs\ClientUI Samples\&lt;/em&gt;”.&lt;br&gt;&lt;br&gt;In the page, I will try to collapse the ExpanderButton’s UXGridView 2nd row.&lt;br&gt;&lt;br&gt;Here’s the several file that I modified:&lt;br&gt;1) &lt;span style="font-weight: bold;"&gt;Player.cs&lt;/span&gt;. You could found the file, under ‘Models’ folder in ‘Assets’ project (&lt;em&gt;Intersoft.ClientUI.Samples.Assets\Models&lt;/em&gt;).&lt;br&gt;In this page, I add new Properties, named ‘Visible’. &lt;br&gt;&lt;/p&gt;&lt;pre&gt;public Visibility Visible{
    get
    {
        // To collapse the 2nd row UXGridViewExpanderButton
        if (_ID == "PL02")
            return Visibility.Collapsed;
        else
            return Visibility.Visible;
    }
}&lt;/pre&gt;&lt;p&gt;2) &lt;span style="font-weight: bold;"&gt;HallOfFameStyles.xaml&lt;/span&gt;. You could found the file, under ‘Assets -&amp;gt; Styles’ folder in ‘UXGridView’ project (&lt;em&gt;Intersoft.ClientUI.Samples.UXGridView\Assets\Styles&lt;/em&gt;).&lt;br&gt;In this page, I will add new Setter under ExpanderButtonStyle.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Style x:Key="ExpanderButtonStyle" TargetType="Intersoft:UXGridViewExpanderButton"&amp;gt;
    …
    &amp;lt;Setter Property="Visibility" Value="{Binding Visible}"/&amp;gt;
    …
&amp;lt;/Style&amp;gt;&lt;/pre&gt;&lt;p&gt;I attached the modified files and the screenshot about the result.&lt;br&gt;Please kindly have review on the attached files and let me know your response.&lt;br&gt;&lt;br&gt;Thank you for your help.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>WPF UXGridViewExpander Column with Row Details</title><link>http://www.intersoftsolutions.com/Community/ClientUI/WPF-UXGridViewExpander-Column-with-Row-Details/</link><pubDate>Fri, 03 Oct 2014 10:26:41 GMT</pubDate><dc:creator>Hans</dc:creator><category>UXGridView UXGridViewExpander</category><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;Thank you for the question.&lt;br&gt;&lt;br&gt;I will investigate this scenario further more with the developer team. And I will back to you as soon as possible.&lt;br&gt;&lt;br&gt;Thank you for waiting.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>WPF UXGridViewExpander Column with Row Details</title><link>http://www.intersoftsolutions.com/Community/ClientUI/WPF-UXGridViewExpander-Column-with-Row-Details/</link><pubDate>Thu, 02 Oct 2014 21:14:51 GMT</pubDate><dc:creator>hoffmaster@aretechllc.com</dc:creator><category>UXGridView UXGridViewExpander</category><description>&lt;p&gt;I am creating a MMVM WPF Application where I display data called Session in a UXGridView. &amp;nbsp;I have Subsession I display in Row Details and I show the Row Details when a UXGridViewExpander Column is pressed. &amp;nbsp;I want to hide the UXExpander Button if there are no SubSessions for the given session. &amp;nbsp;I have created a work around by customizing the CellTemplate of the UXGridViewExpander column. &amp;nbsp;&lt;/p&gt;&lt;p&gt;







&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;&lt;/span&gt;Intersoft&lt;span class="s1"&gt;:&lt;/span&gt;UXGridViewExpanderColumn&lt;span class="s2"&gt; CellTemplate&lt;/span&gt;&lt;span class="s1"&gt;="{&lt;/span&gt;StaticResource&lt;span class="s2"&gt; ExpanderTemplate&lt;/span&gt;&lt;span class="s1"&gt;}"/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;lt;&lt;span class="s2"&gt;DataTemplate&lt;/span&gt;&lt;span class="s3"&gt; x&lt;/span&gt;:&lt;span class="s3"&gt;Key&lt;/span&gt;="ExpanderTemplate"&amp;gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="s4"&gt;&amp;lt;&lt;/span&gt;Intersoft&lt;span class="s4"&gt;:&lt;/span&gt;UXGridViewExpanderButton&lt;span class="s3"&gt; Visibility&lt;/span&gt;&lt;span class="s4"&gt;="{&lt;/span&gt;Binding&lt;span class="s3"&gt; Path&lt;/span&gt;&lt;span class="s4"&gt;=SubSessions.Count,&lt;/span&gt;&lt;span class="s3"&gt; Converter&lt;/span&gt;&lt;span class="s4"&gt;={&lt;/span&gt;StaticResource&lt;span class="s3"&gt; visibilityConverter&lt;/span&gt;&lt;span class="s4"&gt;}}"/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;









&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="s4"&gt;&amp;lt;/&lt;/span&gt;DataTemplate&lt;span class="s4"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s4"&gt;And a Converter to convert the number of subsessions into the appropriate Visibility. &amp;nbsp;The expander button is hidden when the number of Subsession is 0. &amp;nbsp;My issue is that when you press the visible expander buttons an error that the OwningGrid is not set for the Expander button. &amp;nbsp;I am unable to bind the Owning Grid property to the Expander Button because it is not a dependency property. &amp;nbsp;I have also tried setting the Name of my UXGridView and set that as the owning grid as a static resource, but I still get the same error. &amp;nbsp;How can I set the OwningGrid property on a UXGridViewExpanderColumn Cell Template? &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>