ResourceDictionary.InvalidatesImplicitDataTemplateResources 属性

定义

获取或设置一个值,指示 ResourceDictionary 对象引发的失效是否会导致 ContentPresenter 对象重新评估其所选的模板。Gets or sets a value that indicates whether the invalidations fired by the ResourceDictionary object cause ContentPresenter objects to reevaluate their choice of template. 某个隐式数据模板资源发生改变时,将发生失效。The invalidations happen when an implicit data template resource changes.

public:
 property bool InvalidatesImplicitDataTemplateResources { bool get(); void set(bool value); };
public bool InvalidatesImplicitDataTemplateResources { get; set; }
member this.InvalidatesImplicitDataTemplateResources : bool with get, set
Public Property InvalidatesImplicitDataTemplateResources As Boolean

属性值

如果失效导致 ContentPresenter 对象重新评估其所选的模板,则为 true;否则为 falsetrue if the invalidations cause ContentPresenter objects to reevaluate their choice of template; otherwise, false. 默认值为 falseThe default is false.

适用于