Share via


FontIconSource.FontWeight Propiedad

Definición

Obtiene o establece el grosor del glifo del icono.

Esta documentación se aplica a WinUI 2 para UWP (para WinUI en el SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

public:
 property FontWeight FontWeight { FontWeight get(); void set(FontWeight value); };
FontWeight FontWeight();

void FontWeight(FontWeight value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
FontWeight FontWeight();

void FontWeight(FontWeight value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
FontWeight FontWeight();

void FontWeight(FontWeight value);
public FontWeight FontWeight { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
public FontWeight FontWeight { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public FontWeight FontWeight { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 400 }")] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
Public Property FontWeight As FontWeight
<FontIconSource FontWeight="fontWeightsValue"/>

Valor de propiedad

Valor que especifica el grosor del glifo del icono. El valor predeterminado es Normal.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Se aplica a