Typography.DiscretionaryLigatures 속성

정의

임의 합자를 사용하는지 여부를 결정하는 값을 가져오거나 설정합니다.

public:
 property bool DiscretionaryLigatures { bool get(); void set(bool value); };
public bool DiscretionaryLigatures { get; set; }
member this.DiscretionaryLigatures : bool with get, set
Public Property DiscretionaryLigatures As Boolean

속성 값

Boolean

임의 합자를 사용하면 true이고, 그렇지 않으면 false입니다. 기본값은 false입니다.

설명

이 속성은 클래스 인스턴스에 액세스할 Typography 수 있는 유일한 방법인 Typography 속성을 소유하는 개체의 값을 가져오거나 설정합니다. 또한 이 속성은 XAML의 텍스트 포함 개체에 설정할 수 있도록 연결된 속성 사용을 지원합니다.

임의 합자는 장식용으로 설계되었으며 가독성을 위해 특별히 설계되지 않았습니다. 다음 텍스트는 Pericles 글꼴의 임의 합자 문자 모양을 표시합니다.

OpenType 임의 합자를 사용하는 텍스트
임의 합자 집합의 예

다음 코드 예제에서는 속성을 사용 하 여 Pericles 글꼴에 대 한 임의 합자 문자 모양을 정의 하는 DiscretionaryLigatures 방법을 보여 줍니다.

<Paragraph FontFamily="Pericles" Typography.DiscretionaryLigatures="True">
  <Run Typography.StylisticAlternates="1">CO</Run>
  <Run Typography.StylisticAlternates="1">LA</Run>
  <Run Typography.StylisticAlternates="1">LE</Run>
  <Run Typography.StylisticAlternates="1">LI</Run>
  <Run Typography.StylisticAlternates="1">LL</Run>
  <Run Typography.StylisticAlternates="1">LO</Run>
  <Run Typography.StylisticAlternates="1">LU</Run>
</Paragraph>

XAML 특성 사용

<object Typography.DiscretionaryLigatures="bool"/>

종속성 속성 정보

식별자 필드 DiscretionaryLigaturesProperty
메타 데이터 속성 설정 true AffectsMeasure, AffectsRender, Inherits

적용 대상

추가 정보