FrameworkElement.ShouldSerializeStyle Method
Definition
Returns whether serialization processes should serialize the contents of the Style property.
public:
bool ShouldSerializeStyle();
public bool ShouldSerializeStyle ();
member this.ShouldSerializeStyle : unit -> bool
Public Function ShouldSerializeStyle () As Boolean
Returns
true
if the Style property value should be serialized; otherwise, false
.
Remarks
This will return true
if the Style is locally set.