StaticResource
DynamicResource
资源只是初始化的时候访问一次,使用 StaticResource
如果程式运行过程中还有可能改变的资源 使用 DynamicResource 修改时 只有修改 this.Resource["XXX"]="XXXXXX";