您好我正在开发Windows手机应用程序。我需要设置图像loader.i尝试低调图像加载器,但我无法得到任何更改。任何人请让我知道如何设置图像加载器。
我需要解决另一个问题。我有产品名称它是文本包装但文本隐藏右侧,没有包装文本
我正在使用下面给出的代码。
<Image delay:LowProfileImageLoader.UriSource="{Binding ProductImage}" Width="189" Height="170" Name="value" Stretch="Fill" VerticalAlignment="Top"/>
这是文字包装代码
<StackPanel VerticalAlignment="Top" Grid.Row="3">
<ListBox x:Name="ProductLists" ItemsSource="{Binding Product}" Margin="5,5,5,0" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectionChanged="ProductList_SelectionChanged" SelectionMode="Single">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel HorizontalAlignment="Center">
<Border Background="White" Margin="10,5,8,0">
<StackPanel Orientation="Horizontal" Width="900" Background="White" VerticalAlignment="Bottom" Margin="5,20,0,20">
<Image delay:LowProfileImageLoader.UriSource="{Binding ProductImage}" Width="189" Height="170" Name="value" Stretch="Fill" VerticalAlignment="Top"/>
<StackPanel>
<TextBlock x:Name="Product" FontWeight="Bold" Padding="20,0,0,0" TextWrapping="Wrap" HorizontalAlignment="Left" Foreground="#000000" Text="{Binding ProductName}" ></TextBlock>
<TextBlock Padding="20,10,0,0" HorizontalAlignment="Left" FontFamily="Arial" Foreground="#a2a2a2" Text="Price Range" ></TextBlock>
<Grid>
<TextBlock Text="£" Padding="20,10,0,0" FontFamily="Arial" FontWeight="Bold" Foreground="#232323" Height="31" />
<TextBlock x:Name="PPrice" Padding="40,10,0,0" FontWeight="Bold" FontFamily="Arial" Foreground="#000000" Text="{Binding Price}" ></TextBlock>
</Grid>
</StackPanel>
</StackPanel>
</Border>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Grid Height="220"></Grid>
</StackPanel>
我得到的结果如下图所示
我想得到如下图所示的结果
有谁告诉我该怎么做?