Hi,
I'm Synchronization RadListbox and RadDataForm SelectedItem 0 not highlight i'm trying MS ListBox not problem.
Thanks.
I'm Synchronization RadListbox and RadDataForm SelectedItem 0 not highlight i'm trying MS ListBox not problem.
Thanks.
<
telerik:RadDataForm
x:Name
=
"dataForm"
ItemsSource
=
"{Binding Items}"
/>
<
telerik:RadListBox
x:Name
=
"ListBox"
ItemsSource
=
"{Binding Items}"
SelectedIndex
=
"0"
/>
private ICollectionView _items;
public ICollectionView Items
{
get
{
if (_items== null)
{
Items = new QueryableCollectionView(new ObservableCollection<
Contact
>(RepositoryBase.Context.Contacts));
}
return _items;
}
set
{
if (Equals(value, _items)) return;
_items= value;
NotifyOfPropertyChange(() => Items);
}
}