Xceed DataGrid for Silverlight Documentation
DataGridGroupDescription Class
Members  Example 


Class that describes how items are grouped using a property name as the criteria.
Object Model
DataGridGroupDescription ClassDataGridGroupConfiguration Class
Syntax
'Declaration
 
Public Class DataGridGroupDescription 
   Inherits System.Windows.Data.PropertyGroupDescription
'Usage
 
Dim instance As DataGridGroupDescription
public class DataGridGroupDescription : System.Windows.Data.PropertyGroupDescription 
Remarks
The values returned by the GroupNames property and the GroupNameFromItem method will be ignored.
Example
<sldg:DataGridControl.Columns>
   <sldg:Column FieldName="ShipCountry"
                Title="Country">
      <sldg:Column.GroupDescription>
         <sldg:DataGridGroupDescription PropertyName="ShipCountry">
            <sldg:DataGridGroupDescription.GroupConfiguration>
               <sldg:DataGridGroupConfiguration>
                  <sldg:DataGridGroupConfiguration.GroupContainerStyle>
                     <Style TargetType="sldg:GroupContainer">
                        <Setter Property="BorderThickness" Value="2" />
                        <Setter Property="BorderBrush" Value="DeepPink" />
                     </Style>
                  </sldg:DataGridGroupConfiguration.GroupContainerStyle>
               </sldg:DataGridGroupConfiguration>
            </sldg:DataGridGroupDescription.GroupConfiguration>
         </sldg:DataGridGroupDescription>
      </sldg:Column.GroupDescription>
   </sldg:Column>
</sldg:DataGridControl.Columns>
Inheritance Hierarchy

System.Object
   System.ComponentModel.GroupDescription
      System.Windows.Data.PropertyGroupDescription
         Xceed.Silverlight.DataGrid.DataGridGroupDescription

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridGroupDescription Members
Xceed.Silverlight.DataGrid Namespace

Send Feedback