Поделиться через


IXRControl::SetFontStyle (Compact 2013)

3/28/2014

This method sets the style in which the text is rendered.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontStyle(
    XRFontStyle FontStyle
) = 0; 

Parameters

  • FontStyle
    [in] XRFontStyle enumerated value that describes the new style in which the text is rendered.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.FontStyle

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::GetFontStyle