0
父對象的更新屬性
我試圖改變ParentGrid的背景顏色,當孩子控制(按鈕)ChildButton點擊觸發在WPF
我想實現這一目標使用觸發器,但不知道這甚至有可能
請推薦一種方法,通過XAML做到這一點只有
<Grid Name="ParentGrid" Background="Red">
<Button Name="ChildButton" />
</Grid>
感謝
Thx for the response – Amit 2009-08-20 21:33:14