WindowsFormsHost.FontWeight Propriété
Définition
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.
Obtient ou définit l’épaisseur de police du contrôle hébergé.
public:
property System::Windows::FontWeight FontWeight { System::Windows::FontWeight get(); void set(System::Windows::FontWeight value); };
public System.Windows.FontWeight FontWeight { get; set; }
member this.FontWeight : System.Windows.FontWeight with get, set
Public Property FontWeight As FontWeight
Valeur de propriété
Poids de police utilisé dans le contrôle hébergé.
Remarques
Cette propriété de dépendance est identifiée par le FontWeightProperty champ. Par défaut, cette propriété est mappée pour mettre à jour la Control.Font propriété du contrôle hébergé. Pour plus d’informations, consultez Windows Forms et WPF Property Mapping.
Utilisation des attributs XAML
<object FontWeight="fontWeight"/>
Valeurs XAML
Fontweight Consultez FontWeight la syntaxe d’attribut XAML.
Informations sur les propriétés de dépendance
| Élément | Valeur |
|---|---|
| Champ d’identificateur | FontWeightProperty |
Propriétés de métadonnées définies sur true |
AffectsMeasure, , AffectsRenderInherits |