Share via


WidgetContextChangedArgs クラス

定義

IWidgetProvider.OnWidgetContextChanged(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) 取得します。

適用対象