共用方式為


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

WidgetContext取得與 IWidgetProvider.OnWidgetContextChanged(WidgetContextChangedArgs) 回呼相關聯的 物件。

適用於