FrameworkElement.ShouldSerializeStyle Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne si les processus de sérialisation doivent sérialiser le contenu de la propriété Style.
public:
bool ShouldSerializeStyle();
public bool ShouldSerializeStyle ();
member this.ShouldSerializeStyle : unit -> bool
Public Function ShouldSerializeStyle () As Boolean
true
si la valeur de la propriété Style doit être sérialisée ; sinon, false
.
Cela retourne true
si le Style paramètre est défini localement.
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |