我正在使用庫(https://qkit.codeplex.com/)在我的應用上實現JumpList,並且希望覆蓋組頭元素的默認邊距。該保證金在庫代碼定義爲一個資源字典中的資源:Windows Phone 8.1 XAML - 覆蓋ResourceDictionary條目
<Thickness x:Key="JumpListHeaderItemMargin">19,0,0,9.5</Thickness>
如何覆蓋此鍵雖然價值?我已經嘗試過直接在我的應用程序庫的的JumpList元素設置它在資源字典,但它沒有工作:
<q:AlphaJumpList Name="lineJumpList">
<q:AlphaJumpList.Resources>
<Thickness x:Key="JumpListHeaderItemMargin">0,0,0,9.5</Thickness>
</q:AlphaJumpList.Resources>
...
</q:AlphaJumpList>