Typography 类

定义

提供对一组丰富的 OpenType 版式属性的访问。Provides access to a rich set of OpenType typography properties.

public ref class Typography sealed
public sealed class Typography
type Typography = class
Public NotInheritable Class Typography
继承
Typography

示例

下面的代码示例演示如何在 XAMLXAML中使用印刷 CapitalsThe following code sample shows the use typographic Capitals in XAMLXAML. 请注意,变量功能将应用于 Paragraph 元素包含的所有文本。Notice that the variant feature is applied to all text contained with the Paragraph element.

<FlowDocument FontFamily="Palatino Linotype" FontSize="24">
  <Paragraph Typography.Capitals="SmallCaps">
    This example shows the use of the Capitals property
    of the Typography object. The entirety of this paragraph
    is displayed in small capitals letters,
    except for the first letter of a sentence,
    and where an uppercase letter is used. In these cases,
    a large capital letter is used.
  </Paragraph>
</FlowDocument>

下面的代码示例演示如何在 XAMLXAML中使用版式 CapitalsNumeralStyle 功能。The following code sample shows the use typographic Capitals and NumeralStyle features in XAMLXAML. 请注意,这两个版式属性均应用于整个段落。Notice that both typographic properties are applied to the entire paragraph.

<FlowDocument FontFamily="Palatino Linotype" FontSize="24">
    <Paragraph Typography.Capitals="SmallCaps" Typography.NumeralStyle="OldStyle">
      Welcome to C#! . . . 14<LineBreak/>
      Working with Variables, Operators, and Expressions . . . 29<LineBreak/>
      Writing Methods and Applying Scope . . . 45
    </Paragraph>
</FlowDocument>

注解

Typography 对象公开 OpenTypeOpenType 字体支持的一组功能。The Typography object exposes the set of features that an OpenTypeOpenType font supports. 通过在标记或代码中设置 Typography 的属性,您可以轻松地创作利用 OpenTypeOpenType 功能的文档。By setting the properties of Typography in markup or code, you can easily author documents that take advantage of OpenTypeOpenType features.

以下文本显示 Pescadero 字体的标准大写字母,其后接样式为“SmallCaps”和“AllSmallCaps”的字母。The following text displays standard capital letters for the Pescadero font, followed by the letters styled as "SmallCaps" and "AllSmallCaps". 本例中,对所有三个单词均使用相同的字体大小。In this case, the same font size is used for all three words.

使用 OpenType 大写字母的文本Text using OpenType capitals
使用 OpenType 大写字母的文本Text using OpenType capitals

以下标记示例演示如何使用 Typography 对象的属性定义 Pescadero 字体的大写字母。The following markup example shows how to define capitals for the Pescadero font, using properties of the Typography object. 使用“SmallCaps”格式时会忽略任何前导大写字母。When the "SmallCaps" format is used, any leading capital letter is ignored.

<Paragraph FontFamily="Pescadero" FontSize="48">
  <Run>CAPITALS</Run>
  <Run Typography.Capitals="SmallCaps">Capitals</Run>
  <Run Typography.Capitals="AllSmallCaps">Capitals</Run>
</Paragraph>

以下代码示例完成与先前的标记事例相同的任务。The following code example accomplishes the same task as the previous markup example.

MyParagraph.FontFamily = new FontFamily("Pescadero");
MyParagraph.FontSize = 48;

Run run_1 = new Run("CAPITALS ");
MyParagraph.Inlines.Add(run_1);

Run run_2 = new Run("Capitals ");
run_2.Typography.Capitals = FontCapitals.SmallCaps;
MyParagraph.Inlines.Add(run_2);

Run run_3 = new Run("Capitals");
run_3.Typography.Capitals = FontCapitals.AllSmallCaps;
MyParagraph.Inlines.Add(run_3);

MyParagraph.Inlines.Add(new LineBreak());
MyParagraph.FontFamily = New FontFamily("Pescadero")
MyParagraph.FontSize = 48

Dim run_1 As New Run("CAPITALS ")
MyParagraph.Inlines.Add(run_1)

Dim run_2 As New Run("Capitals ")
run_2.Typography.Capitals = FontCapitals.SmallCaps
MyParagraph.Inlines.Add(run_2)

Dim run_3 As New Run("Capitals")
run_3.Typography.Capitals = FontCapitals.AllSmallCaps
MyParagraph.Inlines.Add(run_3)

MyParagraph.Inlines.Add(New LineBreak())

版式属性Typography Properties

下表列出了 Typography 对象的属性、值和默认值。The following table lists the properties, values, and default value of the Typography object.

属性Property Value(s) 默认值Default Value
AnnotationAlternates 数值 - 字节Numeric value - byte 00
Capitals AllPetiteCaps | AllSmallCaps | Normal | PetiteCaps | SmallCaps | Titling | UnicaseAllPetiteCaps | AllSmallCaps | Normal | PetiteCaps | SmallCaps | Titling | Unicase FontCapitalsNormalFontCapitals.Normal
CapitalSpacing Boolean false
CaseSensitiveForms Boolean false
ContextualAlternates Boolean true
ContextualLigatures Boolean true
ContextualSwashes 数值 - 字节Numeric value - byte 00
DiscretionaryLigatures Boolean false
EastAsianExpertForms Boolean false
EastAsianLanguage HojoKanji | Jis04 | Jis78 | Jis83 | Jis90 | NlcKanji | Normal | Simplified | Traditional | TraditionalNamesHojoKanji | Jis04 | Jis78 | Jis83 | Jis90 | NlcKanji | Normal | Simplified | Traditional | TraditionalNames FontEastAsianLanguageNormalFontEastAsianLanguage.Normal
EastAsianWidths Full | Half | Normal | Proportional | Quarter | ThirdFull | Half | Normal | Proportional | Quarter | Third FontEastAsianWidthsNormalFontEastAsianWidths.Normal
Fraction Normal | Slashed | StackedNormal | Slashed | Stacked FontFractionNormalFontFraction.Normal
HistoricalForms Boolean false
HistoricalLigatures Boolean false
Kerning Boolean true
MathematicalGreek Boolean false
NumeralAlignment Normal | Proportional | TabularNormal | Proportional | Tabular FontNumeralAlignmentNormalFontNumeralAlignment.Normal
NumeralStyle Boolean FontNumeralStyleNormalFontNumeralStyle.Normal
SlashedZero Boolean false
StandardLigatures Boolean true
StandardSwashes 数值-字节numeric value - byte 00
StylisticAlternates 数值-字节numeric value - byte 00
StylisticSet1 Boolean false
StylisticSet2 Boolean false
StylisticSet3 Boolean false
StylisticSet4 Boolean false
StylisticSet5 Boolean false
StylisticSet6 Boolean false
StylisticSet7 Boolean false
StylisticSet8 Boolean false
StylisticSet9 Boolean false
StylisticSet10 Boolean false
StylisticSet11 Boolean false
StylisticSet12 Boolean false
StylisticSet13 Boolean false
StylisticSet14 Boolean false
StylisticSet15 Boolean false
StylisticSet16 Boolean false
StylisticSet17 Boolean false
StylisticSet18 Boolean false
StylisticSet19 Boolean false
StylisticSet20 Boolean false
Variants Inferior | Normal | Ordinal | Ruby | Subscript | SuperscriptInferior | Normal | Ordinal | Ruby | Subscript | Superscript FontVariantsNormalFontVariants.Normal

此类的所有依赖属性在 XAMLXAML中还具有附加的属性用法。All dependency properties of this class also have an attached property usage in XAMLXAML. 例如,可以通过以下语法设置 AnnotationAlternates 属性:For instance, you can set the AnnotationAlternates property through this syntax:

<对象 AnnotationAlternates= "value" .../><object Typography.AnnotationAlternates="value" .../>

字段

AnnotationAlternatesProperty

标识 AnnotationAlternates 附加属性。Identifies the AnnotationAlternates attached property.

CapitalSpacingProperty

标识 CapitalSpacing 附加属性。Identifies the CapitalSpacing attached property.

CapitalsProperty

标识 Capitals 附加属性。Identifies the Capitals attached property.

CaseSensitiveFormsProperty

标识 CaseSensitiveForms 附加属性。Identifies the CaseSensitiveForms attached property.

ContextualAlternatesProperty

标识 ContextualAlternates 附加属性。Identifies the ContextualAlternates attached property.

ContextualLigaturesProperty

标识 ContextualLigatures 附加属性。Identifies the ContextualLigatures attached property.

ContextualSwashesProperty

标识 ContextualSwashes 附加属性。Identifies the ContextualSwashes attached property.

DiscretionaryLigaturesProperty

标识 DiscretionaryLigatures 附加属性。Identifies the DiscretionaryLigatures attached property.

EastAsianExpertFormsProperty

标识 EastAsianExpertForms 附加属性。Identifies the EastAsianExpertForms attached property.

EastAsianLanguageProperty

标识 EastAsianLanguage 附加属性。Identifies the EastAsianLanguage attached property.

EastAsianWidthsProperty

标识 EastAsianWidths 附加属性。Identifies the EastAsianWidths attached property.

FractionProperty

标识 Fraction 附加属性。Identifies the Fraction attached property.

HistoricalFormsProperty

标识 HistoricalForms 附加属性。Identifies the HistoricalForms attached property.

HistoricalLigaturesProperty

标识 HistoricalLigatures 附加属性。Identifies the HistoricalLigatures attached property.

KerningProperty

标识 Kerning 附加属性。Identifies the Kerning attached property.

MathematicalGreekProperty

标识 MathematicalGreek 附加属性。Identifies the MathematicalGreek attached property.

NumeralAlignmentProperty

标识 NumeralAlignment 附加属性。Identifies the NumeralAlignment attached property.

NumeralStyleProperty

标识 NumeralStyle 附加属性。Identifies the NumeralStyle attached property.

SlashedZeroProperty

标识 SlashedZero 附加属性。Identifies the SlashedZero attached property.

StandardLigaturesProperty

标识 StandardLigatures 附加属性。Identifies the StandardLigatures attached property.

StandardSwashesProperty

标识 StandardSwashes 附加属性。Identifies the StandardSwashes attached property.

StylisticAlternatesProperty

标识 StylisticAlternates 附加属性。Identifies the StylisticAlternates attached property.

StylisticSet10Property

标识 StylisticSet10 附加属性。Identifies the StylisticSet10 attached property.

StylisticSet11Property

标识 StylisticSet11 附加属性。Identifies the StylisticSet11 attached property.

StylisticSet12Property

标识 StylisticSet12 附加属性。Identifies the StylisticSet12 attached property.

StylisticSet13Property

标识 StylisticSet13 附加属性。Identifies the StylisticSet13 attached property.

StylisticSet14Property

标识 StylisticSet14 附加属性。Identifies the StylisticSet14 attached property.

StylisticSet15Property

标识 StylisticSet15 附加属性。Identifies the StylisticSet15 attached property.

StylisticSet16Property

标识 StylisticSet16 附加属性。Identifies the StylisticSet16 attached property.

StylisticSet17Property

标识 StylisticSet17 附加属性。Identifies the StylisticSet17 attached property.

StylisticSet18Property

标识 StylisticSet18 附加属性。Identifies the StylisticSet18 attached property.

StylisticSet19Property

标识 StylisticSet19 附加属性。Identifies the StylisticSet19 attached property.

StylisticSet1Property

标识 StylisticSet1 附加属性。Identifies the StylisticSet1 attached property.

StylisticSet20Property

标识 StylisticSet20 附加属性。Identifies the StylisticSet20 attached property.

StylisticSet2Property

标识 StylisticSet2 附加属性。Identifies the StylisticSet2 attached property.

StylisticSet3Property

标识 StylisticSet3 附加属性。Identifies the StylisticSet3 attached property.

StylisticSet4Property

标识 StylisticSet4 附加属性。Identifies the StylisticSet4 attached property.

StylisticSet5Property

标识 StylisticSet5 附加属性。Identifies the StylisticSet5 attached property.

StylisticSet6Property

标识 StylisticSet6 附加属性。Identifies the StylisticSet6 attached property.

StylisticSet7Property

标识 StylisticSet7 附加属性。Identifies the StylisticSet7 attached property.

StylisticSet8Property

标识 StylisticSet8 附加属性。Identifies the StylisticSet8 attached property.

StylisticSet9Property

标识 StylisticSet9 附加属性。Identifies the StylisticSet9 attached property.

VariantsProperty

标识 Variants 附加属性。Identifies the Variants attached property.

属性

AnnotationAlternates

获取或设置一个值,该值指定备用批注格式的索引。Gets or sets a value that specifies the index of an alternate annotation form.

Capitals

获取或设置一个 FontCapitals 枚举值,该值指示所选字体的大写格式。Gets or sets a FontCapitals enumerated value that indicates the capital form of the selected font.

CapitalSpacing

获取或设置一个值,该值确定是否全局调整所有全大写文本的内部标志符号间距以提高可读性。Gets or sets a value that determines whether inter-glyph spacing for all-capital text is globally adjusted to improve readability.

CaseSensitiveForms

获取或设置一个值,该值确定是否调整标志符号的垂直位置以更好地与大写标志符号对齐。Gets or sets a value that determines whether glyphs adjust their vertical position to better align with uppercase glyphs.

ContextualAlternates

获取或设置一个值,该值确定是否可以根据所呈现文本的上下文使用自定义标志符号格式。Gets or sets a value that determines whether custom glyph forms can be used based upon the context of the text being rendered.

ContextualLigatures

获取或设置一个值,该值确定是否启用上下文连字。Gets or sets a value that determines whether contextual ligatures are enabled.

ContextualSwashes

获取或设置一个值,该值指定上下文花体格式的索引。Gets or sets a value that specifies the index of a contextual swashes form.

DiscretionaryLigatures

获取或设置一个值,该值确定是否启用自由连字。Gets or sets a value that determines whether discretionary ligatures are enabled.

EastAsianExpertForms

获取或设置一个值,该值确定是否使用相应的首选版式格式替换标准日语字体格式。Gets or sets a value that determines whether the standard Japanese font forms have been replaced with the corresponding preferred typographic forms.

EastAsianLanguage

获取或设置一个 FontEastAsianLanguage 枚举值,该值指示为特定书写系统或语言使用的标志符号版本。Gets or sets a FontEastAsianLanguage enumerated value that indicates the version of glyphs to be used for a specific writing system or language.

EastAsianWidths

获取或设置一个 FontEastAsianWidths 枚举值,该值指示为东亚字体中的拉丁语字符使用比例宽度。Gets or sets a FontEastAsianWidths enumerated value that indicates the proportional width to be used for Latin characters in an East Asian font.

Fraction

获取或设置一个 FontFraction 枚举值,该值指示分数的样式。Gets or sets a FontFraction enumerated value that indicates the fraction style.

HistoricalForms

获取或设置一个值,该值确定是否启用历史记录格式。Gets or sets a value that determines whether historical forms are enabled.

HistoricalLigatures

获取或设置一个值,该值指示是否启用历史记录连字。Gets or sets a value that indicates whether historical ligatures are enabled.

Kerning

获取或设置一个值,该值指示是否启用字距调整。Gets or sets a value that indicates whether kerning is enabled.

MathematicalGreek

获取或设置一个值,该值指示是否使用在数学符号中常用的相应字体格式替换希腊语标志符号的标准版式字体格式。Gets or sets a value that indicates whether standard typographic font forms of Greek glyphs have been replaced with corresponding font forms commonly used in mathematical notation.

NumeralAlignment

获取或设置一个 FontNumeralAlignment 枚举值,该值指示使用数字时的宽度对齐方式。Gets or sets a FontNumeralAlignment enumerated value that indicates the alignment of widths when using numerals.

NumeralStyle

获取或设置一个 FontNumeralStyle 枚举值,该值确定用于呈现数字备用字体格式的标志符号集。Gets or sets a FontNumeralStyle enumerated value that determines the set of glyphs that are used to render numeric alternate font forms.

SlashedZero

获取或设置一个值,该值指示是否使用斜杠零替换标称零字体格式。Gets or sets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.

StandardLigatures

获取或设置一个值,该值指示是否启用标准连字。Gets or sets a value that indicates whether standard ligatures are enabled.

StandardSwashes

获取或设置一个值,该值指定标准花体格式的索引。Gets or sets a value that specifies the index of a standard swashes form.

StylisticAlternates

获取或设置一个值,该值指定样式备用项格式的索引。Gets or sets a value that specifies the index of a stylistic alternates form.

StylisticSet1

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet10

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet11

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet12

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet13

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet14

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet15

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet16

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet17

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet18

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet19

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet2

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet20

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet3

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet4

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet5

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet6

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet7

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet8

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

StylisticSet9

获取或设置一个值,该值指示是否启用字体格式的样式集。Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

Variants

获取或设置一个 FontVariants 枚举值,该值指示使用的标准版式格式的变体。Gets or sets a FontVariants enumerated value that indicates a variation of the standard typographic form to be used.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetAnnotationAlternates(DependencyObject)

返回指定的依赖对象的 AnnotationAlternates 附加属性值。Returns the value of the AnnotationAlternates attached property for a specified dependency object.

GetCapitals(DependencyObject)

返回指定的依赖对象的 Capitals 附加属性值。Returns the value of the Capitals attached property for a specified dependency object.

GetCapitalSpacing(DependencyObject)

返回指定的依赖对象的 CapitalSpacing 附加属性值。Returns the value of the CapitalSpacing attached property for a specified dependency object.

GetCaseSensitiveForms(DependencyObject)

返回指定的依赖对象的 CaseSensitiveForms 附加属性值。Returns the value of the CaseSensitiveForms attached property for a specified dependency object.

GetContextualAlternates(DependencyObject)

返回指定的依赖对象的 ContextualAlternates 附加属性值。Returns the value of the ContextualAlternates attached property for a specified dependency object.

GetContextualLigatures(DependencyObject)

返回指定的依赖对象的 ContextualLigatures 附加属性值。Returns the value of the ContextualLigatures attached property for a specified dependency object.

GetContextualSwashes(DependencyObject)

返回指定的依赖对象的 ContextualSwashes 附加属性值。Returns the value of the ContextualSwashes attached property for a specified dependency object.

GetDiscretionaryLigatures(DependencyObject)

返回指定的依赖对象的 DiscretionaryLigatures 附加属性值。Returns the value of the DiscretionaryLigatures attached property for a specified dependency object.

GetEastAsianExpertForms(DependencyObject)

返回指定的依赖对象的 EastAsianExpertForms 附加属性值。Returns the value of the EastAsianExpertForms attached property for a specified dependency object.

GetEastAsianLanguage(DependencyObject)

返回指定的依赖对象的 EastAsianLanguage 附加属性值。Returns the value of the EastAsianLanguage attached property for a specified dependency object.

GetEastAsianWidths(DependencyObject)

返回指定的依赖对象的 EastAsianWidths 附加属性值。Returns the value of the EastAsianWidths attached property for a specified dependency object.

GetFraction(DependencyObject)

返回指定的依赖对象的 Fraction 附加属性值。Returns the value of the Fraction attached property for a specified dependency object.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetHistoricalForms(DependencyObject)

返回指定的依赖对象的 HistoricalForms 附加属性值。Returns the value of the HistoricalForms attached property for a specified dependency object.

GetHistoricalLigatures(DependencyObject)

返回指定的依赖对象的 HistoricalLigatures 附加属性值。Returns the value of the HistoricalLigatures attached property for a specified dependency object.

GetKerning(DependencyObject)

返回指定的依赖对象的 Kerning 附加属性值。Returns the value of the Kerning attached property for a specified dependency object.

GetMathematicalGreek(DependencyObject)

返回指定的依赖对象的 MathematicalGreek 附加属性值。Returns the value of the MathematicalGreek attached property for a specified dependency object.

GetNumeralAlignment(DependencyObject)

返回指定的依赖对象的 NumeralAlignment 附加属性值。Returns the value of the NumeralAlignment attached property for a specified dependency object.

GetNumeralStyle(DependencyObject)

返回指定的依赖对象的 NumeralStyle 附加属性值。Returns the value of the NumeralStyle attached property for a specified dependency object.

GetSlashedZero(DependencyObject)

返回指定的依赖对象的 SlashedZero 附加属性值。Returns the value of the SlashedZero attached property for a specified dependency object.

GetStandardLigatures(DependencyObject)

返回指定的依赖对象的 StandardLigatures 附加属性值。Returns the value of the StandardLigatures attached property for a specified dependency object.

GetStandardSwashes(DependencyObject)

返回指定的依赖对象的 StandardSwashes 附加属性值。Returns the value of the StandardSwashes attached property for a specified dependency object.

GetStylisticAlternates(DependencyObject)

返回指定的依赖对象的 StylisticAlternates 附加属性值。Returns the value of the StylisticAlternates attached property for a specified dependency object.

GetStylisticSet1(DependencyObject)

返回指定的依赖对象的 StylisticSet1 附加属性值。Returns the value of the StylisticSet1 attached property for a specified dependency object.

GetStylisticSet10(DependencyObject)

返回指定的依赖对象的 StylisticSet10 附加属性值。Returns the value of the StylisticSet10 attached property for a specified dependency object.

GetStylisticSet11(DependencyObject)

返回指定的依赖对象的 StylisticSet11 附加属性值。Returns the value of the StylisticSet11 attached property for a specified dependency object.

GetStylisticSet12(DependencyObject)

返回指定的依赖对象的 StylisticSet12 附加属性值。Returns the value of the StylisticSet12 attached property for a specified dependency object.

GetStylisticSet13(DependencyObject)

返回指定的依赖对象的 StylisticSet13 附加属性值。Returns the value of the StylisticSet13 attached property for a specified dependency object.

GetStylisticSet14(DependencyObject)

返回指定的依赖对象的 StylisticSet14 附加属性值。Returns the value of the StylisticSet14 attached property for a specified dependency object.

GetStylisticSet15(DependencyObject)

返回指定的依赖对象的 StylisticSet15 附加属性值。Returns the value of the StylisticSet15 attached property for a specified dependency object.

GetStylisticSet16(DependencyObject)

返回指定的依赖对象的 StylisticSet16 附加属性值。Returns the value of the StylisticSet16 attached property for a specified dependency object.

GetStylisticSet17(DependencyObject)

返回指定的依赖对象的 StylisticSet17 附加属性值。Returns the value of the StylisticSet17 attached property for a specified dependency object.

GetStylisticSet18(DependencyObject)

返回指定的依赖对象的 StylisticSet18 附加属性值。Returns the value of the StylisticSet18 attached property for a specified dependency object.

GetStylisticSet19(DependencyObject)

返回指定的依赖对象的 StylisticSet19 附加属性值。Returns the value of the StylisticSet19 attached property for a specified dependency object.

GetStylisticSet2(DependencyObject)

返回指定的依赖对象的 StylisticSet2 附加属性值。Returns the value of the StylisticSet2 attached property for a specified dependency object.

GetStylisticSet20(DependencyObject)

返回指定的依赖对象的 StylisticSet20 附加属性值。Returns the value of the StylisticSet20 attached property for a specified dependency object.

GetStylisticSet3(DependencyObject)

返回指定的依赖对象的 StylisticSet3 附加属性值。Returns the value of the StylisticSet3 attached property for a specified dependency object.

GetStylisticSet4(DependencyObject)

返回指定的依赖对象的 StylisticSet4 附加属性值。Returns the value of the StylisticSet4 attached property for a specified dependency object.

GetStylisticSet5(DependencyObject)

返回指定的依赖对象的 StylisticSet5 附加属性值。Returns the value of the StylisticSet5 attached property for a specified dependency object.

GetStylisticSet6(DependencyObject)

返回指定的依赖对象的 StylisticSet6 附加属性值。Returns the value of the StylisticSet6 attached property for a specified dependency object.

GetStylisticSet7(DependencyObject)

返回指定的依赖对象的 StylisticSet7 附加属性值。Returns the value of the StylisticSet7 attached property for a specified dependency object.

GetStylisticSet8(DependencyObject)

返回指定的依赖对象的 StylisticSet8 附加属性值。Returns the value of the StylisticSet8 attached property for a specified dependency object.

GetStylisticSet9(DependencyObject)

返回指定的依赖对象的 StylisticSet8 附加属性值。Returns the value of the StylisticSet8 attached property for a specified dependency object.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetVariants(DependencyObject)

返回指定的依赖对象的 Variants 附加属性值。Returns the value of the Variants attached property for a specified dependency object.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SetAnnotationAlternates(DependencyObject, Int32)

设置指定依赖对象的 AnnotationAlternates 附加属性的值。Sets the value of the AnnotationAlternates attached property for a specified dependency object.

SetCapitals(DependencyObject, FontCapitals)

设置指定依赖对象的 Capitals 附加属性的值。Sets the value of the Capitals attached property for a specified dependency object.

SetCapitalSpacing(DependencyObject, Boolean)

设置指定依赖对象的 CapitalSpacing 附加属性的值。Sets the value of the CapitalSpacing attached property for a specified dependency object.

SetCaseSensitiveForms(DependencyObject, Boolean)

设置指定依赖对象的 CaseSensitiveForms 附加属性的值。Sets the value of the CaseSensitiveForms attached property for a specified dependency object.

SetContextualAlternates(DependencyObject, Boolean)

设置指定依赖对象的 ContextualAlternates 附加属性的值。Sets the value of the ContextualAlternates attached property for a specified dependency object.

SetContextualLigatures(DependencyObject, Boolean)

设置指定依赖对象的 ContextualLigatures 附加属性的值。Sets the value of the ContextualLigatures attached property for a specified dependency object.

SetContextualSwashes(DependencyObject, Int32)

设置指定依赖对象的 ContextualSwashes 附加属性的值。Sets the value of the ContextualSwashes attached property for a specified dependency object.

SetDiscretionaryLigatures(DependencyObject, Boolean)

设置指定依赖对象的 DiscretionaryLigatures 附加属性的值。Sets the value of the DiscretionaryLigatures attached property for a specified dependency object.

SetEastAsianExpertForms(DependencyObject, Boolean)

设置指定依赖对象的 EastAsianExpertForms 附加属性的值。Sets the value of the EastAsianExpertForms attached property for a specified dependency object.

SetEastAsianLanguage(DependencyObject, FontEastAsianLanguage)

设置指定依赖对象的 EastAsianLanguage 附加属性的值。Sets the value of the EastAsianLanguage attached property for a specified dependency object.

SetEastAsianWidths(DependencyObject, FontEastAsianWidths)

设置指定依赖对象的 EastAsianWidths 附加属性的值。Sets the value of the EastAsianWidths attached property for a specified dependency object.

SetFraction(DependencyObject, FontFraction)

设置指定依赖对象的 Fraction 附加属性的值。Sets the value of the Fraction attached property for a specified dependency object.

SetHistoricalForms(DependencyObject, Boolean)

设置指定依赖对象的 HistoricalForms 附加属性的值。Sets the value of the HistoricalForms attached property for a specified dependency object.

SetHistoricalLigatures(DependencyObject, Boolean)

设置指定依赖对象的 HistoricalLigatures 附加属性的值。Sets the value of the HistoricalLigatures attached property for a specified dependency object.

SetKerning(DependencyObject, Boolean)

设置指定依赖对象的 Kerning 附加属性的值。Sets the value of the Kerning attached property for a specified dependency object.

SetMathematicalGreek(DependencyObject, Boolean)

设置指定依赖对象的 MathematicalGreek 附加属性的值。Sets the value of the MathematicalGreek attached property for a specified dependency object.

SetNumeralAlignment(DependencyObject, FontNumeralAlignment)

设置指定依赖对象的 NumeralAlignment 附加属性的值。Sets the value of the NumeralAlignment attached property for a specified dependency object.

SetNumeralStyle(DependencyObject, FontNumeralStyle)

设置指定依赖对象的 NumeralStyle 附加属性的值。Sets the value of the NumeralStyle attached property for a specified dependency object.

SetSlashedZero(DependencyObject, Boolean)

设置指定依赖对象的 SlashedZero 附加属性的值。Sets the value of the SlashedZero attached property for a specified dependency object.

SetStandardLigatures(DependencyObject, Boolean)

设置指定依赖对象的 StandardLigatures 附加属性的值。Sets the value of the StandardLigatures attached property for a specified dependency object.

SetStandardSwashes(DependencyObject, Int32)

设置指定依赖对象的 StandardSwashes 附加属性的值。Sets the value of the StandardSwashes attached property for a specified dependency object.

SetStylisticAlternates(DependencyObject, Int32)

设置指定依赖对象的 StylisticAlternates 附加属性的值。Sets the value of the StylisticAlternates attached property for a specified dependency object.

SetStylisticSet1(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet1 附加属性的值。Sets the value of the StylisticSet1 attached property for a specified dependency object.

SetStylisticSet10(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet10 附加属性的值。Sets the value of the StylisticSet10 attached property for a specified dependency object.

SetStylisticSet11(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet11 附加属性的值。Sets the value of the StylisticSet11 attached property for a specified dependency object.

SetStylisticSet12(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet12 附加属性的值。Sets the value of the StylisticSet12 attached property for a specified dependency object.

SetStylisticSet13(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet13 附加属性的值。Sets the value of the StylisticSet13 attached property for a specified dependency object.

SetStylisticSet14(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet14 附加属性的值。Sets the value of the StylisticSet14 attached property for a specified dependency object.

SetStylisticSet15(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet15 附加属性的值。Sets the value of the StylisticSet15 attached property for a specified dependency object.

SetStylisticSet16(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet16 附加属性的值。Sets the value of the StylisticSet16 attached property for a specified dependency object.

SetStylisticSet17(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet17 附加属性的值。Sets the value of the StylisticSet17 attached property for a specified dependency object.

SetStylisticSet18(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet18 附加属性的值。Sets the value of the StylisticSet18 attached property for a specified dependency object.

SetStylisticSet19(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet19 附加属性的值。Sets the value of the StylisticSet19 attached property for a specified dependency object.

SetStylisticSet2(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet2 附加属性的值。Sets the value of the StylisticSet2 attached property for a specified dependency object.

SetStylisticSet20(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet20 附加属性的值。Sets the value of the StylisticSet20 attached property for a specified dependency object.

SetStylisticSet3(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet3 附加属性的值。Sets the value of the StylisticSet3 attached property for a specified dependency object.

SetStylisticSet4(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet4 附加属性的值。Sets the value of the StylisticSet4 attached property for a specified dependency object.

SetStylisticSet5(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet5 附加属性的值。Sets the value of the StylisticSet5 attached property for a specified dependency object.

SetStylisticSet6(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet6 附加属性的值。Sets the value of the StylisticSet6 attached property for a specified dependency object.

SetStylisticSet7(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet7 附加属性的值。Sets the value of the StylisticSet7 attached property for a specified dependency object.

SetStylisticSet8(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet8 附加属性的值。Sets the value of the StylisticSet8 attached property for a specified dependency object.

SetStylisticSet9(DependencyObject, Boolean)

设置指定依赖对象的 StylisticSet9 附加属性的值。Sets the value of the StylisticSet9 attached property for a specified dependency object.

SetVariants(DependencyObject, FontVariants)

设置指定依赖对象的 Variants 附加属性的值。Sets the value of the Variants attached property for a specified dependency object.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于