or

|
Enter Name (Label box) |
Text Box |
Address |
Text Box |
|
Standard |
Combo Box |
Pin code |
Text Box |
|
Section |
Text Box |
State |
Combo Box |
|
Age |
Text Box |
Country |
Combo Box |
|
Enter Name (label box) |
Text Box |
Pin code |
Text Box |
|
Section |
Text Box |
State |
Combo Box |
|
Age |
Text Box |
Country |
Combo Box |
|
Address |
Text Box |
|
|
<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding ActionID}" Header="Action" UniqueName="ActionID" SelectedValueMemberPath="ActionID" DisplayMemberPath="Name" ItemsSourceBinding="{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=telerik:RadPane},Path=viewModel.References.ActionList}"/>| <totally:RadComboBox Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="3" Name="StatusarComboBox" HorizontalAlignment="Stretch" |
| ItemsSource="{Binding ARStatusar}" IsTextSearchEnabled="False" MaxWidth="190" > |
| <totally:RadComboBox.ItemTemplate> |
| <DataTemplate> |
| <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" Content="{Binding Text}" /> |
| </DataTemplate> |
| </totally:RadComboBox.ItemTemplate> |
| <totally:RadComboBox.SelectionBoxTemplate> |
| <DataTemplate> |
| <TextBlock Text="{Binding Owner.CheckedItems, Converter= StaticResource ValueConverter}, UpdateSourceTrigger=PropertyChanged}"/> |
| </DataTemplate> |
| </totally:RadComboBox.SelectionBoxTemplate> |
| </totally:RadComboBox> |
public enum Category { Spicy, Fat, Tasty, Expensive}; public class Dish{ public string Name {get; set;} public Category[] Categories {get; set;}}public class Test{ [Display(AutoGenerateField = false)] [RangeAttribute(1, 10)] public int Id { get; set; } [DisplayName("TestNumber")] [Display(Order = 1)] [Required(AllowEmptyStrings = false, ErrorMessage = "Exception")] public string Number { get; set; } [Display(Order = 0)] [Required(AllowEmptyStrings = false, ErrorMessage = "Exception")] public string Name { get; set; }}List<Test> testList = new List<Test>();Test test = null;for (int i = 0; i < 10; i++){ test = new Test(); test.Id = i; test.Name = "Name" + i.ToString(); test.Number = i.ToString(); testList.Add(test);}radGridView.ItemsSource = testList;