共用方式為


AdornerResources.Refresh 方法

更新裝飾項資源字典。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Shared Sub Refresh
public static void Refresh()
public:
static void Refresh()
static member Refresh : unit -> unit 
public static function Refresh()

備註

呼叫 Refresh 方法,以確保資源字典已載入且是最新狀態。

.NET Framework 安全性

請參閱

參考

AdornerResources 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性

裝飾項架構

建立自訂裝飾項