語言

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
屬性

備註

在目前版本中,當元件主機內所選元件大小改變時,這個回調會被提升。

屬性

名稱 Description
WidgetContext

取得與 Microsoft.Windows 相關聯的 WidgetContext 物件。Widgets.Providers.IWidgetProvider.OnWidgetContextChanged callback.

適用於