Window.Current 속성

정의

현재 스레드의 창을 가져옵니다.

public:
 static property Window ^ Current { Window ^ get(); };
static Window Current();
public static Window Current { get; }
var window = Window.current;
Public Shared ReadOnly Property Current As Window

속성 값

현재 활성화된 창입니다.

설명

이 속성의 값은 호출되는 스레드에 따라 달라집니다. UI 스레드에서 호출되는 경우 값은 해당 스레드에 대한 Window instance. 다른 스레드에서 값은 입니다 null.

적용 대상