DataGridTextColumn.Foreground 속성

정의

열에 있는 셀의 텍스트 내용을 그리는 데 사용되는 Brush를 가져오거나 설정합니다.

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

속성 값

Brush

열에 있는 셀의 텍스트 내용을 그리는 데 사용되는 브러시입니다. 등록된 기본값은 ControlTextBrush입니다. 값에 영향을 줄 수 있는 요소에 대한 자세한 내용은 DependencyProperty를 참조하십시오.

설명

이 속성은 Foreground 템플릿이 속성을 매개 변수로 사용하는 경우에만 열에 있는 컨트롤의 텍스트 내용에 대한 브러시를 결정합니다.

적용 대상