TextElement.GetForeground(DependencyObject) 메서드

정의

지정된 종속성 개체의 Foreground 연결된 속성 값을 반환합니다.

public:
 static System::Windows::Media::Brush ^ GetForeground(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.Brush GetForeground(System.Windows.DependencyObject element);
static member GetForeground : System.Windows.DependencyObject -> System.Windows.Media.Brush
Public Shared Function GetForeground (element As DependencyObject) As Brush

매개 변수

element
DependencyObject

속성 값을 검색할 종속성 개체입니다 Foreground .

반품

지정된 종속성 개체에 Foreground 대한 연결된 속성의 현재 값입니다.

예외

dnull입니다.

적용 대상

추가 정보