Page.FontFamily 属性

定义

获取或设置指定字体系列的名称。Gets or sets the name of the specified font family.

public:
 property System::Windows::Media::FontFamily ^ FontFamily { System::Windows::Media::FontFamily ^ get(); void set(System::Windows::Media::FontFamily ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Windows.Localizability(System.Windows.LocalizationCategory.Font, Modifiability=System.Windows.Modifiability.Unmodifiable)]
public System.Windows.Media.FontFamily FontFamily { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Windows.Localizability(System.Windows.LocalizationCategory.Font, Modifiability=System.Windows.Modifiability.Unmodifiable)>]
member this.FontFamily : System.Windows.Media.FontFamily with get, set
Public Property FontFamily As FontFamily

属性值

FontFamily

一个 FontFamily,它是用于 Page 的内容的字体系列。A FontFamily that is the font family for the content of a Page. 默认为 MessageFontFamilyThe default is MessageFontFamily.

属性

注解

依赖项属性信息Dependency Property Information

标识符字段Identifier field FontFamilyProperty
元数据属性设置为 trueMetadata properties set to true AffectsMeasure, AffectsRender, InheritsAffectsMeasure, AffectsRender, Inherits

适用于