CUIT Playback is not working on RadGridView.
SampleApplication ===Main.Xaml
=============================
<UserControl x:Class="RadGridViewSampleWithUX.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<UserControl.Resources>
<ResourceDictionary>
<SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
<SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="CadetBlue"/>
<!-- Logo Path Style -->
<Style x:Key="LogoIcon" TargetType="ContentControl">
<Setter Property="Height" Value="24"/>
<Setter Property="Width" Value="24"/>
<Setter Property="Margin" Value="0,1,10,0"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ContentControl">
<Grid>
<Path UseLayoutRounding='False' Fill="{StaticResource HighLightColorBrush}" Stretch="Fill" Data="M8,0 C12.417931,2.8898596E-06 16,3.5814998 16,8 C16,12.417819 12.41803,16 8,16 C3.5816212,16 6.1398991E-06,12.417912 0,8 C1.5351338E-06,6.8954077 0.22386749,5.8431153 0.62867981,4.8860393 C0.65398115,4.82622 0.6799894,4.7667723 0.70669389,4.7077074 L0.73170543,4.6541386 L5.6357112,9.5581446 L3.7429986,11.450858 L3.7429986,11.493001 L11.669835,11.493001 L11.669835,3.5661643 L11.627691,3.5661643 L9.7349787,5.4588776 L4.8993444,0.62324351 L5.0666013,0.55490673 C5.5510159,0.36389247 6.0585575,0.21878535 6.5838675,0.12495131 C6.8465204,0.078035071 7.1136146,0.043936942 7.3844767,0.023327276 C7.5199089,0.013022465 7.6562829,0.0060896641 7.7935166,0.0026129775 C7.862133,0.00087448902 7.9309645,4.5157563E-08 8,0 z"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- ApplicationName Style -->
<Style x:Key="ApplicationNameStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Margin" Value="0,2,0,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TitleGridStyle" TargetType="Grid">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
</Style>
<!-- Branding Border Style -->
<Style x:Key="BrandingBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,25,0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Branding StackPanel Style -->
<Style x:Key="BrandingStackPanelStyle" TargetType="StackPanel">
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Orientation" Value="Horizontal"/>
</Style>
</ResourceDictionary>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" x:Name="TitleGrid" Style="{StaticResource TitleGridStyle}" ShowGridLines="True">
<Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
<StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
<ContentControl Style="{StaticResource LogoIcon}"/>
<TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}"
Text="Telerik GridView With UX Demo" FontSize="17"/>
</StackPanel>
</Border>
</Grid>
<telerik:RadGridView x:Name="DemoGridView"
Grid.Row="1"
ItemsSource="{Binding Employees}" EnableRowVirtualization="False" EnableColumnVirtualization ="False"
AutoGenerateColumns="False"
GridLinesVisibility="Horizontal" RowIndicatorVisibility="Collapsed" SelectionMode="Extended" SelectionUnit="FullRow"
AlternationCount="2" AlternateRowBackground="#FFEEEEEE" IsSynchronizedWithCurrentItem="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Id" DataMemberBinding="{Binding Id}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="EmployeeName" DataMemberBinding="{Binding EmployeeName}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="CompanyName" DataMemberBinding="{Binding CompanyName}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="Address" DataMemberBinding="{Binding Address}" TextAlignment="Right" IsReadOnly="True"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>
</UserControl>
=========
Imports System.Collections.ObjectModel
Imports System.ComponentModel
Public Class ViewModel
Implements INotifyPropertyChanged
Public Sub New()
MyBase.New()
CreateData()
End Sub
Private mEmployees As ObservableCollection(Of Employee)
Public Property Employees() As ObservableCollection(Of Employee)
Get
Return mEmployees
End Get
Set(ByVal value As ObservableCollection(Of Employee))
mEmployees = value
OnPropertyChanged("Employees")
End Set
End Property
Public Event PropertyChanged(sender As Object, e As PropertyChangedEventArgs) Implements INotifyPropertyChanged.PropertyChanged
Public Sub OnPropertyChanged(ByVal propertyName As String)
RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
End Sub
Private Sub CreateData()
Try
Dim ListOfEmployees As New ObservableCollection(Of Employee)
Dim employeeOne As New Employee
employeeOne.Id = 1
employeeOne.EmployeeName = "Goossen Samuel"
employeeOne.CompanyName = "Internet deutschland gmbh"
employeeOne.Address = "MarkGrafenStraze"
Dim employeeTwo As New Employee
employeeTwo.Id = 2
employeeTwo.EmployeeName = "Stiehm Tobias"
employeeTwo.CompanyName = "Internet deutschland gmbh"
employeeTwo.Address = "Dortmund Universitait"
Dim employeeThree As New Employee
employeeThree.Id = 3
employeeThree.EmployeeName = "Riedel Nicole"
employeeThree.CompanyName = "Internet deutschland gmbh"
employeeThree.Address = "Essen"
Dim employeeFour As New Employee
employeeFour.Id = 4
employeeFour.EmployeeName = "Kordt Michael"
employeeFour.CompanyName = "Internet deutschland gmbh"
employeeFour.Address = "Dusseldorf"
Dim employeeFive As New Employee
employeeFive.Id = 5
employeeFive.EmployeeName = "Grishanov pavel"
employeeFive.CompanyName = "Internet deutschland gmbh"
employeeFive.Address = "MunsterLand"
Dim employeeSix As New Employee
employeeSix.Id = 6
employeeSix.EmployeeName = "Bhattu Hari Krishna"
employeeSix.CompanyName = "Internet "
employeeSix.Address = "Dilshuknagar, Xyz"
Dim employeeSeven As New Employee
employeeSeven.Id = 7
employeeSeven.EmployeeName = "Gade Sumanth Reddy"
employeeSeven.CompanyName = "Internet India"
employeeSeven.Address = "ECIL, Yza"
Dim employeeEight As New Employee
employeeEight.Id = 8
employeeEight.EmployeeName = "Aeddula Naga Babu"
employeeEight.CompanyName = "Internet India"
employeeEight.Address = "Uppal X Road, AAA"
Dim employeeNine As New Employee
employeeNine.Id = 9
employeeNine.EmployeeName = "Arryamsetty Rahul"
employeeNine.CompanyName = "Intergraph India"
employeeNine.Address = "RTC X Roads, DDD"
Dim employeeTen As New Employee
employeeTen.Id = 10
employeeTen.EmployeeName = "Aravind Kotte"
employeeTen.CompanyName = "Internet India"
employeeTen.Address = "BHEL, EEE"
ListOfEmployees.Add(employeeOne)
ListOfEmployees.Add(employeeTwo)
ListOfEmployees.Add(employeeThree)
ListOfEmployees.Add(employeeFour)
ListOfEmployees.Add(employeeFive)
ListOfEmployees.Add(employeeSix)
ListOfEmployees.Add(employeeSeven)
ListOfEmployees.Add(employeeEight)
ListOfEmployees.Add(employeeNine)
ListOfEmployees.Add(employeeTen)
'For index = 10 To 100
' Dim emp As New Employee
' emp.Id = index
' emp.EmployeeName = "ICCian"
' emp.Address = "Begumpet, Hyderabad"
' emp.CompanyName = "ICC Capability Center"
' ListOfEmployees.Add(emp)
'Next
Employees = ListOfEmployees
Catch ex As Exception
Throw New Exception(ex.Message)
End Try
End Sub
End Class
====
SampleApplication ===Main.Xaml
=============================
<UserControl x:Class="RadGridViewSampleWithUX.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<UserControl.Resources>
<ResourceDictionary>
<SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
<SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="CadetBlue"/>
<!-- Logo Path Style -->
<Style x:Key="LogoIcon" TargetType="ContentControl">
<Setter Property="Height" Value="24"/>
<Setter Property="Width" Value="24"/>
<Setter Property="Margin" Value="0,1,10,0"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ContentControl">
<Grid>
<Path UseLayoutRounding='False' Fill="{StaticResource HighLightColorBrush}" Stretch="Fill" Data="M8,0 C12.417931,2.8898596E-06 16,3.5814998 16,8 C16,12.417819 12.41803,16 8,16 C3.5816212,16 6.1398991E-06,12.417912 0,8 C1.5351338E-06,6.8954077 0.22386749,5.8431153 0.62867981,4.8860393 C0.65398115,4.82622 0.6799894,4.7667723 0.70669389,4.7077074 L0.73170543,4.6541386 L5.6357112,9.5581446 L3.7429986,11.450858 L3.7429986,11.493001 L11.669835,11.493001 L11.669835,3.5661643 L11.627691,3.5661643 L9.7349787,5.4588776 L4.8993444,0.62324351 L5.0666013,0.55490673 C5.5510159,0.36389247 6.0585575,0.21878535 6.5838675,0.12495131 C6.8465204,0.078035071 7.1136146,0.043936942 7.3844767,0.023327276 C7.5199089,0.013022465 7.6562829,0.0060896641 7.7935166,0.0026129775 C7.862133,0.00087448902 7.9309645,4.5157563E-08 8,0 z"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- ApplicationName Style -->
<Style x:Key="ApplicationNameStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Margin" Value="0,2,0,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TitleGridStyle" TargetType="Grid">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
</Style>
<!-- Branding Border Style -->
<Style x:Key="BrandingBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,25,0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Branding StackPanel Style -->
<Style x:Key="BrandingStackPanelStyle" TargetType="StackPanel">
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Orientation" Value="Horizontal"/>
</Style>
</ResourceDictionary>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" x:Name="TitleGrid" Style="{StaticResource TitleGridStyle}" ShowGridLines="True">
<Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
<StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
<ContentControl Style="{StaticResource LogoIcon}"/>
<TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}"
Text="Telerik GridView With UX Demo" FontSize="17"/>
</StackPanel>
</Border>
</Grid>
<telerik:RadGridView x:Name="DemoGridView"
Grid.Row="1"
ItemsSource="{Binding Employees}" EnableRowVirtualization="False" EnableColumnVirtualization ="False"
AutoGenerateColumns="False"
GridLinesVisibility="Horizontal" RowIndicatorVisibility="Collapsed" SelectionMode="Extended" SelectionUnit="FullRow"
AlternationCount="2" AlternateRowBackground="#FFEEEEEE" IsSynchronizedWithCurrentItem="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Id" DataMemberBinding="{Binding Id}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="EmployeeName" DataMemberBinding="{Binding EmployeeName}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="CompanyName" DataMemberBinding="{Binding CompanyName}" TextAlignment="Right" IsReadOnly="True"/>
<telerik:GridViewDataColumn Header="Address" DataMemberBinding="{Binding Address}" TextAlignment="Right" IsReadOnly="True"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>
</UserControl>
=========
Imports System.Collections.ObjectModel
Imports System.ComponentModel
Public Class ViewModel
Implements INotifyPropertyChanged
Public Sub New()
MyBase.New()
CreateData()
End Sub
Private mEmployees As ObservableCollection(Of Employee)
Public Property Employees() As ObservableCollection(Of Employee)
Get
Return mEmployees
End Get
Set(ByVal value As ObservableCollection(Of Employee))
mEmployees = value
OnPropertyChanged("Employees")
End Set
End Property
Public Event PropertyChanged(sender As Object, e As PropertyChangedEventArgs) Implements INotifyPropertyChanged.PropertyChanged
Public Sub OnPropertyChanged(ByVal propertyName As String)
RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
End Sub
Private Sub CreateData()
Try
Dim ListOfEmployees As New ObservableCollection(Of Employee)
Dim employeeOne As New Employee
employeeOne.Id = 1
employeeOne.EmployeeName = "Goossen Samuel"
employeeOne.CompanyName = "Internet deutschland gmbh"
employeeOne.Address = "MarkGrafenStraze"
Dim employeeTwo As New Employee
employeeTwo.Id = 2
employeeTwo.EmployeeName = "Stiehm Tobias"
employeeTwo.CompanyName = "Internet deutschland gmbh"
employeeTwo.Address = "Dortmund Universitait"
Dim employeeThree As New Employee
employeeThree.Id = 3
employeeThree.EmployeeName = "Riedel Nicole"
employeeThree.CompanyName = "Internet deutschland gmbh"
employeeThree.Address = "Essen"
Dim employeeFour As New Employee
employeeFour.Id = 4
employeeFour.EmployeeName = "Kordt Michael"
employeeFour.CompanyName = "Internet deutschland gmbh"
employeeFour.Address = "Dusseldorf"
Dim employeeFive As New Employee
employeeFive.Id = 5
employeeFive.EmployeeName = "Grishanov pavel"
employeeFive.CompanyName = "Internet deutschland gmbh"
employeeFive.Address = "MunsterLand"
Dim employeeSix As New Employee
employeeSix.Id = 6
employeeSix.EmployeeName = "Bhattu Hari Krishna"
employeeSix.CompanyName = "Internet "
employeeSix.Address = "Dilshuknagar, Xyz"
Dim employeeSeven As New Employee
employeeSeven.Id = 7
employeeSeven.EmployeeName = "Gade Sumanth Reddy"
employeeSeven.CompanyName = "Internet India"
employeeSeven.Address = "ECIL, Yza"
Dim employeeEight As New Employee
employeeEight.Id = 8
employeeEight.EmployeeName = "Aeddula Naga Babu"
employeeEight.CompanyName = "Internet India"
employeeEight.Address = "Uppal X Road, AAA"
Dim employeeNine As New Employee
employeeNine.Id = 9
employeeNine.EmployeeName = "Arryamsetty Rahul"
employeeNine.CompanyName = "Intergraph India"
employeeNine.Address = "RTC X Roads, DDD"
Dim employeeTen As New Employee
employeeTen.Id = 10
employeeTen.EmployeeName = "Aravind Kotte"
employeeTen.CompanyName = "Internet India"
employeeTen.Address = "BHEL, EEE"
ListOfEmployees.Add(employeeOne)
ListOfEmployees.Add(employeeTwo)
ListOfEmployees.Add(employeeThree)
ListOfEmployees.Add(employeeFour)
ListOfEmployees.Add(employeeFive)
ListOfEmployees.Add(employeeSix)
ListOfEmployees.Add(employeeSeven)
ListOfEmployees.Add(employeeEight)
ListOfEmployees.Add(employeeNine)
ListOfEmployees.Add(employeeTen)
'For index = 10 To 100
' Dim emp As New Employee
' emp.Id = index
' emp.EmployeeName = "ICCian"
' emp.Address = "Begumpet, Hyderabad"
' emp.CompanyName = "ICC Capability Center"
' ListOfEmployees.Add(emp)
'Next
Employees = ListOfEmployees
Catch ex As Exception
Throw New Exception(ex.Message)
End Try
End Sub
End Class
====