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

속성 값

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, AffectsRender, Inherits

적용 대상

추가 정보