WindowsFormsHost.FontStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the hosted control's font style.
public:
property System::Windows::FontStyle FontStyle { System::Windows::FontStyle get(); void set(System::Windows::FontStyle value); };
public System.Windows.FontStyle FontStyle { get; set; }
member this.FontStyle : System.Windows.FontStyle with get, set
Public Property FontStyle As FontStyle
Property Value
The font style used in the hosted control.
Remarks
This dependency property is identified by the FontStyleProperty field. By default, this property is mapped to update the Control.Font property of the hosted control. For more information, see Windows Forms and WPF Property Mapping.
XAML Attribute Usage
<object FontStyle="fontStyle"/>
XAML Values
fontStyle See FontStyle for XAML Attribute syntax.
Dependency Property Information
Item | Value |
---|---|
Identifier field | FontStyleProperty |
Metadata properties set to true |
AffectsMeasure, AffectsRender, Inherits |
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.