【发布时间】:2015-03-25 08:03:57
【问题描述】:
我需要从 C# 设置图像源。我尝试了X:Name="headimg",但在 C# 中找不到 headimg。
<StackPanel x:Name="Body">
<Image x:Name="headimg" Source="img/logo.png" Height="120" Width="130" HorizontalAlignment="Left"></Image>
</StackPanel>
【问题讨论】:
标签: xaml windows-phone