共用方式為


WidgetCustomizationRequestedArgs 類別

定義

提供 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
繼承
Object Platform::Object IInspectable WidgetCustomizationRequestedArgs
屬性

屬性

CustomState

取得字串,其中包含與自訂要求相關聯之小工具的自訂狀態。

WidgetContext

取得與自訂要求相關聯的 WidgetCoNtext 物件。 此物件提供小工具主機內小工具組態的相關資訊。

適用於