AccessText.FontWeight 속성

정의

요소에 사용할 AccessText 글꼴 두께를 가져오거나 설정합니다.

public:
 property System::Windows::FontWeight FontWeight { System::Windows::FontWeight get(); void set(System::Windows::FontWeight value); };
public System.Windows.FontWeight FontWeight { get; set; }
member this.FontWeight : System.Windows.FontWeight with get, set
Public Property FontWeight As FontWeight

속성 값

사용할 글꼴 두께입니다. 기본값은 메트릭에 MessageFontWeight 의해 결정됩니다.

예제

다음 예제에서는 컨트롤에서 텍스트의 모양을 변경 하는 속성을 설정 하는 방법을 보여 있습니다 AccessText .

<TextBox Name="textBox2" Width="50" Height="30"/>
<Label Target="{Binding ElementName=textBox2}">
  <AccessText Background="Red" Foreground="DarkSlateBlue"    
              FontFamily="Arial Narrow" FontSize="16" FontStyle="Italic" 
              FontWeight="Bold">
    E_dit
  </AccessText>
</Label>

설명

종속성 속성 정보

항목 가치
식별자 필드 FontWeightProperty
메타데이터 속성이 다음으로 설정됩니다. true AffectsMeasure, , AffectsRenderInherits

적용 대상

추가 정보