Hi, I am new to WPS/Silverlight. Following is the 'Style' I created for my datagrid,
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="SilverlightApplication1.App" xmlns:ctrlPrimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data" xmlns:ctrl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" > <Application.Resources> <Style x:Key="myRow" TargetType="ctrl:DataGridRow"> <Setter Property="Foreground" Value="Red" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ctrl:DataGridRow"> <StackPanel> <ContentPresenter Content="test" /> </StackPanel> </ControlTemplate> </Setter.Value> </Setter> </Style> </Application.Resources> </Application><br/> Then I have no idea what to do next. How can I use template binding to bind the value of each cell? -- Best Regards, David Shen