2
我將imagebrush源綁定到我在xaml中的datatemplate。 所述的DataTemplate是--->datatemplate綁定圖像畫筆源
<DataTemplate x:Key="UserGridListTemplate">
<Grid Height="140" Width="155">
<Grid.Background>
<ImageBrush ImageSource="{Binding imagePath}"/>
</Grid.Background>
</Grid>
</DataTemplate>
和XAML --->
<ListBoxItem ContentTemplate="{StaticResource UserGridListTemplate}" >
<local:MultiLineItem ImagePath="/ShareItMobileApp;component/Images/facebook-avatar(1).png"/>
</ListBoxItem>
但異常存在的 AG_E_PARSER_BAD_PROPERTY_VALUE [行:3位置:33]
任何人都可以幫我解決這個問題?
thanx @keyboardP ... – 2013-04-04 15:39:18
不客氣:) – keyboardP 2013-04-04 15:59:43