EDN Admin
Well-known member
1. I have copyed the following code to my xaml file:
<ListView x:Name="ItemListView" Width="Auto" Height="Auto"<br/>
ItemTemplate="{StaticResource MessageListImageTemplate}"<br/>
BorderThickness="0" VerticalAlignment="Stretch" HorizontalAlignment="Left"<br/>
ScrollViewer.VerticalScrollBarVisibility="Auto"<br/>
ScrollViewer.HorizontalScrollBarVisibility="Disabled"/>
2. I have defined "MessageListImageTemplate" in my template file.
3.I copied SampleDataSource.cpp + SampleDataSource.h to my project ,and change the namespace to my name, (SmsProject).
when I compiled , "Item" : is not a memeber of SmsProject.
Question:
1. How can I fix this problem?
2. If I dont use SampleDataSource file , How can I new datasouce ,step by step. ????
Im a newer in VS2012.
Thanks for any reply!
View the full article
<ListView x:Name="ItemListView" Width="Auto" Height="Auto"<br/>
ItemTemplate="{StaticResource MessageListImageTemplate}"<br/>
BorderThickness="0" VerticalAlignment="Stretch" HorizontalAlignment="Left"<br/>
ScrollViewer.VerticalScrollBarVisibility="Auto"<br/>
ScrollViewer.HorizontalScrollBarVisibility="Disabled"/>
2. I have defined "MessageListImageTemplate" in my template file.
3.I copied SampleDataSource.cpp + SampleDataSource.h to my project ,and change the namespace to my name, (SmsProject).
when I compiled , "Item" : is not a memeber of SmsProject.
Question:
1. How can I fix this problem?
2. If I dont use SampleDataSource file , How can I new datasouce ,step by step. ????
Im a newer in VS2012.
Thanks for any reply!
View the full article