or
| <Telerik:RadGridView |
| Margin="5" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" |
| SelectionMode="Single" |
| ItemsSource="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values, UpdateSourceTrigger=PropertyChanged}" |
| SelectedItem="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values.CurrentItem, UpdateSourceTrigger=PropertyChanged}" |
| CurrentItem="{Binding Mode=TwoWay, Path=CurrentCOAContext.Values.CurrentItem, UpdateSourceTrigger=PropertyChanged}" |
| x:Name="GridViewHistory" |
| AutoGenerateColumns="False"> |

| <Window |
| x:Class="WpfApplication1.Window1" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
| Title="Window1"> |
| <Grid> |
| <telerik:RadCarousel x:Name="RadCaoursel1"> |
| <telerik:RadCarousel.ItemsPanel> |
| <ItemsPanelTemplate> |
| <telerik:RadCarouselPanel |
| ItemsPerPage="7" /> |
| </ItemsPanelTemplate> |
| </telerik:RadCarousel.ItemsPanel> |
| </telerik:RadCarousel> |
| </Grid> |
| </Window> |
| using System; |
| using System.Collections.Generic; |
| using System.Linq; |
| using System.Text; |
| using System.Windows; |
| using System.Windows.Controls; |
| using System.Windows.Data; |
| using System.Windows.Documents; |
| using System.Windows.Input; |
| using System.Windows.Media; |
| using System.Windows.Media.Imaging; |
| using System.Windows.Navigation; |
| using System.Windows.Shapes; |
| using System.Collections.ObjectModel; |
| namespace WpfApplication1 |
| { |
| /// <summary> |
| /// Interaction logic for Window1.xaml |
| /// </summary> |
| public partial class Window1 : Window |
| { |
| public Window1() |
| { |
| InitializeComponent(); |
| ObservableCollection<CarouselExample> items = new ObservableCollection<CarouselExample>(); |
| for (int i = 0; i < 6; i++) |
| { |
| items.Add(new CarouselExample() { Name = "Test" + i }); |
| } |
| this.RadCaoursel1.ItemsSource = items; |
| } |
| } |
| public class CarouselExample |
| { |
| public String Name { get; set; } |
| } |
| } |