Share via


IWidgetProvider.OnWidgetContextChanged(WidgetContextChangedArgs) 메서드

정의

위젯 호스트 내의 위젯 구성이 변경되면 호출됩니다.

public:
 void OnWidgetContextChanged(WidgetContextChangedArgs ^ contextChangedArgs);
void OnWidgetContextChanged(WidgetContextChangedArgs const& contextChangedArgs);
public void OnWidgetContextChanged(WidgetContextChangedArgs contextChangedArgs);
function onWidgetContextChanged(contextChangedArgs)
Public Sub OnWidgetContextChanged (contextChangedArgs As WidgetContextChangedArgs)

매개 변수

contextChangedArgs
WidgetContextChangedArgs

WidgetContextChangedArgs 콜백에 대한 데이터를 제공하는 개체입니다.

설명

현재 릴리스에서 이 이벤트는 사용자가 활성 위젯의 크기를 변경할 때만 발생합니다.

이 콜백 메서드에 전달된 개체는 콜백 내에서만 유효하도록 보장됩니다. 콜백 컨텍스트 외부의 동작이 정의되지 않았으므로 이러한 개체에 대한 참조를 저장해서는 안 됩니다.

적용 대상