TextElement.SetFontWeight(DependencyObject, FontWeight) Metodo

Definizione

Imposta il valore della proprietà associata FontWeight per un oggetto dipendenza specificato.

public:
 static void SetFontWeight(System::Windows::DependencyObject ^ element, System::Windows::FontWeight value);
public static void SetFontWeight (System.Windows.DependencyObject element, System.Windows.FontWeight value);
static member SetFontWeight : System.Windows.DependencyObject * System.Windows.FontWeight -> unit
Public Shared Sub SetFontWeight (element As DependencyObject, value As FontWeight)

Parametri

element
DependencyObject

Oggetto dipendenza per cui impostare il valore della proprietà FontWeight.

value
FontWeight

Nuovo valore su cui impostare la proprietà.

Eccezioni

Si applica a

Vedi anche