AccessText.Background 속성

정의

콘텐츠 영역을 채우는 Brush를 가져오거나 설정합니다.

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

속성 값

Brush

콘텐츠 영역을 채우는 Brush입니다. 기본값은 null입니다.

예제

다음 예제에서는 텍스트의 모양을 변경 하려면 속성을 설정 하는 방법을 보여 줍니다는 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>

설명

종속성 속성 정보

식별자 필드 BackgroundProperty
메타 데이터 속성 설정 true AffectsRender

적용 대상

추가 정보