or
using System;using System.Collections.Generic;using System.Collections.ObjectModel;using System.Linq;using System.Text;using System.Threading;using Telerik.Windows.Controls;namespace HighlightMatchingItemsText{ public class Country { public string Name { get; set; } public string Capital { get; set; } } public class ViewModel : ViewModelBase { private ObservableCollection<Country> countries; public ViewModel() { this.Countries = new ObservableCollection<Country>() { new Country() { Name = "Australia", Capital = "Canberra" }, new Country() { Name = "Bulgaria", Capital = "Sofia" }, new Country() { Name = "Canada", Capital = "Ottawa" }, new Country() { Name = "Denmark", Capital = "Copenhagen" }, new Country() { Name = "France", Capital = "Paris" }, new Country() { Name = "Germany", Capital = "Berlin" }, new Country() { Name = "India", Capital = "New Delhi" }, new Country() { Name = "Italy", Capital = "Rome" }, new Country() { Name = "Norway", Capital = "Oslo" }, new Country() { Name = "Russia", Capital = "Moscow" }, new Country() { Name = "Spain", Capital = "Madrid" }, new Country() { Name = "United Kingdom", Capital = "London" }, new Country() { Name = "United States", Capital = "Washington, D.C." }, }; var o = System.Reactive.Linq.Observable.Start(() => { //starts on a background thread. while (true) { Thread.Sleep(6000); this.Countries = new ObservableCollection<Country>() { new Country() { Name = "Australia", Capital = "Canberra" }, new Country() { Name = "Bulgaria", Capital = "Sofia" }, new Country() { Name = "Canada", Capital = "Ottawa" }, new Country() { Name = "Denmark", Capital = "Copenhagen" }, }; Console.WriteLine("Collection Changed"); } }); } public ObservableCollection<Country> Countries { get { return this.countries; } set { if (this.countries != value) { this.countries = value; this.OnPropertyChanged(() => this.Countries); } } } }}<UserControl x:Class="HighlightMatchingItemsText.Example" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:local="clr-namespace:HighlightMatchingItemsText" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Width="300"> <UserControl.DataContext> <local:ViewModel /> </UserControl.DataContext> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <TextBlock Text="Type A in the autocomplete box, Australia gets highlighted. Keep the drop down open and wait for 6 seconds, the collection changes and the highlighting dissappears. Wait for another 6 seconds, the collection changes and the highlighting reappaers. This keeps toggling. " TextWrapping="Wrap" FontWeight="Bold" Margin="20"/> <telerik:RadAutoCompleteBox x:Name="AutoComplete" Grid.Row="1" Margin="20" ItemsSource="{Binding Countries}" TextSearchPath="Name" TextSearchMode="Contains" AutoCompleteMode="Suggest" > </telerik:RadAutoCompleteBox> </Grid></UserControl><Window x:Class="MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
Blah...
</Window>
<telerik:RadRibbonWindow x:Class="MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> Blah... </telerik:RadRibbonWindow>

<Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/ <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml" /> </ResourceDictionary.MergedDictionaries>bool? dialogResult = null; RadWindow.Confirm(new DialogParameters() { Owner = this, Closed = (w, x) => { dialogResult = x.DialogResult; } });HeightPerson{ DateTime DateMeasure { get: set; } decimal Height { get: set; } decimal Age { get: set; }}<telerik:RadCartesianChart.HorizontalAxis> <chartView:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="{Binding AxisXformat}" Visibility="{Binding VisibilityAxis}" Title="{Binding TitleX}" /></telerik:RadCartesianChart.HorizontalAxis>var edadSeries = new LineSeries(){ ItemsSource = vm.PersonAge, Visibility = System.Windows.Visibility.Visible, //here is where i'm binding the date, but i would like to bind the "Age" property //AnotherCategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "Age" }, CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "DateMeasure" }, ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Height" }, BorderBrush = System.Windows.Media.Brushes.Black, BorderThickness = new Thickness(1),};