WidgetContextChangedArgs 类

定义

public ref class WidgetContextChangedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WidgetContextChangedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WidgetContextChangedArgs
Public NotInheritable Class WidgetContextChangedArgs
继承
Object Platform::Object IInspectable WidgetContextChangedArgs
属性

注解

在当前版本中,当小组件主机中小组件的选定大小发生更改时,将引发此回调。

属性

WidgetContext

获取与 Microsoft.Windows.Widgets.Providers.IWidgetProvider.OnWidgetContextChanged 回调关联的 WidgetContext 对象。

适用于