Click here to Skip to main content
11,576,064 members (55,723 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# XAML Windows-Phone-7

I want to pull data from the wcf and to display data, i uses the toolkit but not appearance. how to binding item with toolkit;

this is my xaml code :

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" FlowDirection="LeftToRight" Grid.ColumnSpan="1" OpacityMask="{x:Null}" Visibility="Visible" Background="Black">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Width="auto" FontSize="22" Text="Ημερ/νία:" Height="34" FontWeight="Black" />
                    <toolkit:DatePicker x:Name="datePicker" Value="2/3/2010" Width="263" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Foreground="#FF008300"></toolkit:DatePicker>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Width="117" FontSize="22" Text="Μαθημα:" Height="34" FontWeight="Black"/>
                    <toolkit:ListPicker x:Name="list"  Width="223">
                            <StackPanel Orientation="Horizontal">
                                <Rectangle Height="50" Width="50" VerticalAlignment="Center" Fill="{Binding CoTitle}" Margin="5,30,20,20"></Rectangle>
                                <TextBlock Text="{Binding CoTitle}" VerticalAlignment="Center" FontSize="40"></TextBlock>


private void client_GetCoursesCompleted(object sender, ServiceReference1.GetCoursesCompletedEventArgs e) {
               foreach (ServiceReference1.SRV_Course obj in e.Result)

               //this.list.ItemsSource = e.Result;

           catch (Exception ex)
Posted 27-Aug-12 23:04pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 305
1 F-ES Sitecore 145
2 OriginalGriff 125
3 Abhinav S 98
4 Dave Kreskowiak 80
0 OriginalGriff 705
1 Sergey Alexandrovich Kryukov 600
2 Abhinav S 438
3 F-ES Sitecore 410
4 Suvendu Shekhar Giri 365

Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100