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

屬性值

Boolean

如果失效造成 ContentPresenter 物件重新評估其選擇的範本,則為 true;否則為 falsetrue if the invalidations cause ContentPresenter objects to reevaluate their choice of template; otherwise, false. 預設為 falseThe default is false.

適用於