WidgetContextChangedArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
- 繼承
- 屬性
備註
在目前版本中,當元件主機內所選元件大小改變時,這個回調會被提升。
屬性
| 名稱 | Description |
|---|---|
| WidgetContext |
取得與 Microsoft.Windows 相關聯的 WidgetContext 物件。Widgets.Providers.IWidgetProvider.OnWidgetContextChanged callback. |