WidgetCustomizationRequestedArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 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
- 繼承
- 屬性
屬性
| 名稱 | Description |
|---|---|
| CustomState |
會取得包含與自訂請求相關元件的自訂狀態的字串。 |
| WidgetContext |
取得與自訂請求相關的 WidgetContext 物件。 此物件提供關於元件在元件主機內的設定資訊。 |