'宣言 Public Property Resources As System.Windows.ResourceDictionary
'使用法 Dim instance As SearchToolbar Dim value As System.Windows.ResourceDictionary instance.Resources = value value = instance.Resources
public System.Windows.ResourceDictionary Resources {get; set;}