TextElement.SetFontStyle(DependencyObject, FontStyle) Metoda

Definicja

Ustawia wartość dołączonej FontStyle właściwości dla określonego obiektu zależności.

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

Parametry

element
DependencyObject

Obiekt zależności, dla którego ma zostać ustawiona wartość FontStyle właściwości.

value
FontStyle

Nowa wartość ustawiania właściwości na .

Wyjątki

Dotyczy

Zobacz też