FrameworkElement.ShouldSerializeTriggers FrameworkElement.ShouldSerializeTriggers FrameworkElement.ShouldSerializeTriggers FrameworkElement.ShouldSerializeTriggers Method

定義

傳回序列化 (Serialization) 處理序是否應該將 Triggers 屬性的內容序列化。Returns whether serialization processes should serialize the contents of the Triggers property.

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

傳回

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

備註

這個方法會傳回true如果Triggers屬性在本機設定。This method returns true if the Triggers property is locally set.

適用於