IWidgetProvider.OnWidgetContextChanged(WidgetContextChangedArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the configuration of the widget within the widget host changes.
public:
void OnWidgetContextChanged(WidgetContextChangedArgs ^ contextChangedArgs);
void OnWidgetContextChanged(WidgetContextChangedArgs const& contextChangedArgs);
public void OnWidgetContextChanged(WidgetContextChangedArgs contextChangedArgs);
function onWidgetContextChanged(contextChangedArgs)
Public Sub OnWidgetContextChanged (contextChangedArgs As WidgetContextChangedArgs)
Parameters
- contextChangedArgs
- WidgetContextChangedArgs
A WidgetContextChangedArgs object providing data for the callback.
Remarks
In the current release, this event is only raised when the user changes the size of an active widget.
Objects passed into this callback method are only guaranteed to be valid within the callback. You should not store references to these objects because their behavior outside of the context of the callback is undefined.