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

定义

返回一个值,该值指示序列化过程是否应该序列化 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了属性,则此方法返回。TriggersThis method returns true if the Triggers property is locally set.

适用于