Typography.DiscretionaryLigatures 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
임의 합자를 사용할 수 있는지 여부를 결정하는 값을 가져오거나 설정합니다.
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
속성 값
임의 합자를 사용하는 경우 true
. 그렇지 않으면 false
. 기본값은 false
.
설명
이 속성은 Typography 클래스 인스턴스에 액세스할 수 있는 유일한 방법인 Typography
속성을 소유하는 개체의 값을 가져오거나 설정합니다. 또한 이 속성은 XAML의 텍스트 포함 개체에서 설정할 수 있도록 연결된 속성 사용을 지원합니다.
임의 합자는 장식용으로 설계되었으며 가독성을 위해 특별히 설계되지 않았습니다. 다음 텍스트는 Pericles 글꼴에 대한 임의 합자 문자 모양을 표시합니다.
OpenType 임의 합자를 사용하는
임의 합자 집합의 예
다음 코드 예제에서는 DiscretionaryLigatures 속성을 사용 하 여 Pericles 글꼴에 대 한 임의 합자 문자 모양을 정의 하는 방법을 보여 줍니다.
<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 특성 사용
< 개체Typography.DiscretionaryLigatures="bool"/>
종속성 속성 정보
식별자 필드 | DiscretionaryLigaturesProperty |
true 설정된 메타데이터 속성 |
AffectsMeasure, AffectsRender, Inherits |
적용 대상
추가 정보
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기