다음을 통해 공유


IconSource.Foreground 속성

정의

컨트롤의 전경색을 그리는 브러시를 가져오거나 설정합니다.

public:
 property Brush ^ Foreground { Brush ^ get(); void set(Brush ^ value); };
Brush Foreground();

void Foreground(Brush value);
public Brush Foreground { get; set; }
var brush = iconSource.foreground;
iconSource.foreground = brush;
Public Property Foreground As Brush
<iconSource Foreground="{StaticResource resourceName}"/>

속성 값

컨트롤의 전경을 칠하는 브러시입니다. 기본값은 렌더링을 위해 투명으로 평가되는 null(null 브러시)입니다. 그러나 이 값은 일반적으로 런타임에 활성 테마 및 기타 설정에 연결된 기본 시스템 리소스에 의해 설정됩니다.

적용 대상