Saturday, April 9, 2011

Pagind in Silverlight using PagedCollectionView


 Private Sub MainPage_Loaded(ByVal sender As Object, ByVal e As


System.Windows.RoutedEventArgs) Handles Me.Loaded
Dim x As New List(Of String)
x.Add("aaa")
x.Add("bbb")
x.Add("ccc")
x.Add("ddd")
x.Add("eee")
x.Add("fff")
Dim y As New System.Windows.Data.PagedCollectionView(x)
DataGrid1.ItemsSource = y
DataPager1.Source = y
End Sub

No comments:

Post a Comment

DOCKER ARG instruction as opposed to ENV instruction

  In Docker, ARG and ENV are used to define environment variables. The ARG instruction defines variables that users can pass to the builder ...