【发布时间】:2010-12-04 15:57:25
【问题描述】:
我想根据其状态更改下面代码中按钮的图像,即使用不同的图像来启用和禁用状态。
<Button CommandParameter="Open" >
<StackPanel Orientation="Horizontal" >
<Image Source="../icons/big/open.png" Width="20" Height="20"></Image>
</StackPanel>
</Button>
谢谢。
【问题讨论】: