FrameworkElement.ShouldSerializeTriggers Method ()


Returns whether serialization processes should serialize the contents of the Triggers property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool ShouldSerializeTriggers()

Return Value

Type: System.Boolean

true if the Triggers property value should be serialized; otherwise, false.

This method returns true if the Triggers property is locally set.

.NET Framework
Available since 3.0
Return to top