語言

WidgetCustomizationRequestedArgs 類別

定義

提供 OnCustomizationRequested) 事件的資料,當使用者透過元件主機介面請求元件自訂時,該事件會被觸發。

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

屬性

名稱 Description
CustomState

會取得包含與自訂請求相關元件的自訂狀態的字串。

WidgetContext

取得與自訂請求相關的 WidgetContext 物件。 此物件提供關於元件在元件主機內的設定資訊。

適用於