﻿<?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 - WebGrid Enterprise - RowDetails in UXGridView fo ClientUI</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowDetails-in-UXGridView-fo-ClientUI/</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>RowDetails in UXGridView fo ClientUI</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowDetails-in-UXGridView-fo-ClientUI/</link><pubDate>Sun, 13 Jan 2013 23:53:44 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;In order to use the RowDetails feature of UXGridView, we need to ensure that we have successfully bind UXGridView to a collection of data. For example: we are going to show list of Customers by using row details feature of UXGridView such as shown in the following screenshot.&lt;/span&gt;&lt;/p&gt;&lt;a href="http://www.intersoftpt.com/Community/Attachments/3512/RowDetails.jpg"&gt;&lt;img width="480px" height="300px" alt="Customers View in RowDetails" src="http://www.intersoftpt.com/Community/Attachments/3512/RowDetails.jpg" /&gt;&lt;/a&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Let’s start by following the step-by-step in &lt;strong&gt;Walkthrough: Bind UXGridView to WCF RIA Services using MVVM Pattern article in ClientUI documentation&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;By carefully following the step-by-step found in the article, we have completed half way to our goal.&lt;/span&gt;&lt;/p&gt;&lt;a href="http://www.intersoftpt.com/Community/Attachments/3512/UXGridViewCustomers.jpg"&gt;&lt;img width="480px" height="300px" alt="UXGridView shows Customers data" src="http://www.intersoftpt.com/Community/Attachments/3512/UXGridViewCustomers.jpg" /&gt;&lt;/a&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Last step, open Customers.xaml file and specify the template for RowDetailsTemplate property. The following code shows how to create list of Customers in UXGridView using row details.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXGridView Name="uXGridView1" ItemsSource="{Binding Path=Items}"
                        Margin="8" AutoGenerateColumns="False"
                        GridLinesVisibility="Horizontal" AreRowDetailsFrozen="True"
                        SelectionUnit="Row" RowDetailsVisibilityMode="VisibleWhenSelected"
                        CanUserPage="True" PageSize="20"
                        Intersoft:DockPanel.IsFillElement="True"&amp;gt;
    &amp;lt;Intersoft:UXGridView.Columns&amp;gt;
        &amp;lt;Intersoft:UXGridViewExpanderColumn /&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Header="Customer ID" Binding="{Binding CustomerID}"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Header="Contact Name" Binding="{Binding ContactName}"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Header="Contact Title" Binding="{Binding ContactTitle}"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Header="CompanyName" Binding="{Binding CompanyName}"/&amp;gt;
    &amp;lt;/Intersoft:UXGridView.Columns&amp;gt;
    &amp;lt;Intersoft:UXGridView.RowDetailsTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;Grid Height="128"&amp;gt;
                &amp;lt;Grid.ColumnDefinitions&amp;gt;
                    &amp;lt;ColumnDefinition Width="Auto"/&amp;gt;
                    &amp;lt;ColumnDefinition/&amp;gt;
                &amp;lt;/Grid.ColumnDefinitions&amp;gt;
                &amp;lt;Image HorizontalAlignment="Left" VerticalAlignment="Center"
                        Source="{Binding Path=PhotoPath}" Margin="8,8,8,8"/&amp;gt;
                &amp;lt;Grid Grid.Column="1" Margin="16,8,16,8"&amp;gt;
                    &amp;lt;Grid.RowDefinitions&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                        &amp;lt;RowDefinition Height="24"/&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                        &amp;lt;RowDefinition Height="Auto"/&amp;gt;
                    &amp;lt;/Grid.RowDefinitions&amp;gt;
                    &amp;lt;TextBlock HorizontalAlignment="Left" FontSize="16" FontWeight="Normal"
                                Text="{Binding Path=ContactName}" TextWrapping="NoWrap"/&amp;gt;
                    &amp;lt;StackPanel Grid.Row="1" Orientation="Horizontal"&amp;gt;
                        &amp;lt;TextBlock Foreground="#FF7D7D7D" Text="{Binding Path=ContactTitle}"
                                    TextWrapping="NoWrap"/&amp;gt;
                        &amp;lt;TextBlock Foreground="#FF7D7D7D" Text=", "/&amp;gt;
                        &amp;lt;TextBlock Foreground="#FF7D7D7D" Text="{Binding Path=CompanyName}"
                                    TextWrapping="NoWrap"/&amp;gt;
                    &amp;lt;/StackPanel&amp;gt;
                    &amp;lt;Border Grid.Row="3" Grid.RowSpan="2" Background="#7FF0F0F0" CornerRadius="4"
                        HorizontalAlignment="Right" VerticalAlignment="Bottom"&amp;gt;
                        &amp;lt;StackPanel Margin="4"&amp;gt;
                            &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;
                                &amp;lt;TextBlock Text="Phone : " TextWrapping="NoWrap"/&amp;gt;
                                &amp;lt;TextBlock Text="{Binding Path=Phone}" TextWrapping="NoWrap"/&amp;gt;
                            &amp;lt;/StackPanel&amp;gt;
                            &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;
                                &amp;lt;TextBlock Text="Fax : " TextWrapping="NoWrap"/&amp;gt;
                                &amp;lt;TextBlock Text="{Binding Path=Fax}" TextWrapping="NoWrap"/&amp;gt;
                            &amp;lt;/StackPanel&amp;gt;
                        &amp;lt;/StackPanel&amp;gt;
                    &amp;lt;/Border&amp;gt;
                &amp;lt;/Grid&amp;gt;
            &amp;lt;/Grid&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Intersoft:UXGridView.RowDetailsTemplate&amp;gt;
&amp;lt;/Intersoft:UXGridView&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RowDetails in UXGridView fo ClientUI</title><link>http://www.intersoftsolutions.com/Community/WebGrid/RowDetails-in-UXGridView-fo-ClientUI/</link><pubDate>Fri, 11 Jan 2013 01:30:05 GMT</pubDate><dc:creator>lc860912</dc:creator><description>&lt;p&gt;I want to use the RowDetails,but it can't bind the data to the RowDetails'grid.How should I do to implement this function?Can you tell me in details?Thanks a lot!&lt;/p&gt;</description></item></channel></rss>