FrameworkContentElement.ShouldSerializeStyle 方法

定義

傳回序列化 (Serialization) 處理序是否應該在這個類別的執行個體上,將 Style 屬性的內容序列化。Returns whether serialization processes should serialize the contents of the Style property on instances of this class.

public:
 bool ShouldSerializeStyle();
public bool ShouldSerializeStyle ();
member this.ShouldSerializeStyle : unit -> bool
Public Function ShouldSerializeStyle () As Boolean

傳回

如果應序列化 Style 屬性值,則為 true,否則為 falsetrue if the Style property value should be serialized; otherwise, false.

備註

如果 Style 在本機設定,這會傳回 trueThis will return true if the Style is locally set.

適用於