1
是否可以通過數據模板實現一種行爲,以便可以將單元格的前景顏色更改爲「x」秒,然後將其返回到其原始顏色。暫時更改屬性
E.g.我定義了一個數據模板是這樣的:
<DataTemplate x:Key="ChangeTemplate">
<TextBlock Text="{Binding Converter={StaticResource percentConverter}, Path=ChangePercent}"
Foreground="{Binding Converter={StaticResource decimalToColorConverter}, Path=ChangePercent}" />
</DataTemplate>
能否請您指導我怎樣才能達到這樣的行爲,是經過「X」的時間我改回原來的前景色。
感謝, SC
非常感謝。我知道了。 // SC – SmoothCriminel