WidgetCustomizationRequestedArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 OnCustomizationRequested 事件的資料,當使用者透過小工具主機 UI 要求小工具自訂時,就會引發此事件。
public ref class WidgetCustomizationRequestedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WidgetCustomizationRequestedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WidgetCustomizationRequestedArgs
Public NotInheritable Class WidgetCustomizationRequestedArgs
- 繼承
- 屬性
屬性
CustomState |
取得字串,其中包含與自訂要求相關聯之小工具的自訂狀態。 |
WidgetContext |
取得與自訂要求相關聯的 WidgetCoNtext 物件。 此物件提供小工具主機內小工具組態的相關資訊。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應