次の方法で共有


WidgetContextChangedArgs クラス

定義

Microsoft.Windows.Widgets.Providers.IWidgetProvider.OnWidgetContextChanged コールバックのデータを提供します。

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 オブジェクトを取得します。

適用対象