WindowsFormsHost.Foreground 속성

정의

호스팅된 컨트롤의 전경색을 가져오거나 설정합니다.

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 입니다.

설명

이 종속성 속성으로 식별 되는 ForegroundProperty 필드입니다. 기본적으로이 속성 업데이트에 매핑되는 Control.ForeColor 호스팅된 컨트롤의 속성입니다. 매핑에 대 한 자세한 내용은 합니다 Foreground 속성을 참조 하세요 Windows Forms 및 WPF 속성 매핑합니다.

XAML 특성 사용

<object Foreground="Brush"/>

XAML 값

브러시 XAML 특성 구문은 를 참조하세요 Brush .

종속성 속성 정보

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

SubPropertiesDoNotAffectRender,

Inherits

적용 대상

추가 정보