Application.OnWindowCreated(WindowCreatedEventArgs) 메서드

정의

애플리케이션이 창을 만들 때 호출됩니다.

protected:
 virtual void OnWindowCreated(WindowCreatedEventArgs ^ args) = OnWindowCreated;
void OnWindowCreated(WindowCreatedEventArgs const& args);
protected virtual void OnWindowCreated(WindowCreatedEventArgs args);
function onWindowCreated(args)
Protected Overridable Sub OnWindowCreated (args As WindowCreatedEventArgs)

매개 변수

args
WindowCreatedEventArgs

이벤트에 대한 이벤트 데이터입니다.

설명

이 메서드는 기본 창을 만들기 위해 한 번, 호스트된 각 창에 대해 한 번, CreateNewView가 호출 될 때마다 한 번 호출됩니다. 예를 들어 SearchPane.GetForCurrentViewSettingsPane.GetForCurrentView와 같은 GetForCurrentView 메서드를 호출하여 다양한 창에 액세스하려면 이 메서드를 재정의할 수 있습니다.

적용 대상