<telerik:RadGridView.Columns> <telerik:GridViewCheckBoxColumn Header="{loc:Translate}" loc:Translate.Uid="101" DataMemberBinding="{Binding Enrolled}" IsReadOnly="False" AutoSelectOnEdit="True" EditTriggers="CurrentCellClick" HeaderCellStyle="{StaticResource headerCellAgeStyle}"/> <telerik:GridViewImageColumn Header="{loc:Translate}" Name="imgColumn1" loc:Translate.Uid="222" IsReadOnly="True" HeaderCellStyle="{StaticResource headerCellAgeStyle}"></telerik:GridViewImageColumn> <telerik:GridViewImageColumn Header="{loc:Translate}" Name="imgColumn2" loc:Translate.Uid="223" DataMemberBinding="{Binding JBYimg}" IsReadOnly="True" HeaderCellStyle="{StaticResource headerCellAgeStyle}"></telerik:GridViewImageColumn> <telerik:GridViewDataColumn Header="{loc:Translate}" loc:Translate.Uid="102" DataMemberBinding="{Binding MemberName}" Width="180" IsReadOnly="True" HeaderCellStyle="{StaticResource headerCellAgeStyle}"> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn Header="{loc:Translate}" loc:Translate.Uid="103" Width="100" IsReadOnly="True" HeaderCellStyle="{StaticResource headerCellAgeStyle}"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding Gender,Mode=TwoWay}"/> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <dtpic:DateTimePickerColumn HeaderCellStyle="{StaticResource headerCellAgeStyle}" IsReadOnly="True" Header="{loc:Translate}" loc:Translate.Uid="179" Width="100" DataMemberBinding="{Binding DateOfBirth,Mode=TwoWay}" DataFormatString="{}{0:dd/MM/yyyy}"/> <telerik:GridViewDataColumn HeaderCellStyle="{StaticResource headerCellAgeStyle}" IsReadOnly="True" Header="{loc:Translate}" loc:Translate.Uid="104" DataMemberBinding="{Binding Age,StringFormat=\{0:n0\},ValidatesOnDataErrors=True}" Width="60"/> <telerik:GridViewDataColumn HeaderCellStyle="{StaticResource headerCellAgeStyle}" IsReadOnly="True" Header="{loc:Translate}" loc:Translate.Uid="105" Width="100"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding Path=RelationCode,Converter={StaticResource GetDepRelName}}"/> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn HeaderCellStyle="{StaticResource headerCellAgeStyle}" IsReadOnly="True" Width="110" Header="{loc:Translate}" loc:Translate.Uid="180" DataMemberBinding="{Binding Path=UIDNumber,ValidatesOnDataErrors=True,ValidatesOnExceptions=True}"/> </telerik:RadGridView.Columns>
CrossCutting.GlobalVariable.GDepcoll = new ObservableCollection<Dependent>(); raddtgFamDetails.ItemsSource = CrossCutting.GlobalVariable.GDepcoll;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)