Share via


WidgetCustomizationRequestedArgs 类

定义

为用户通过小组件主机 UI 请求小组件自定义时引发的 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
属性

属性

CustomState

获取包含与自定义请求关联的小组件的自定义状态的字符串。

WidgetContext

获取与自定义请求关联的 WidgetContext 对象。 此对象提供有关小组件主机中小组件配置的信息。

适用于