|
|
@@ -25,9 +25,8 @@ namespace Microsoft.Toolkit.Uwp.Notifications
|
|
|
public string ProtocolActivationTargetApplicationPfn { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// Not supported on Windows: Specifies the behavior that the toast should use when the user invokes this action. Note that this option only works on <see cref="ToastButton"/> and <see cref="ToastContextMenuItem"/>.
|
|
|
+ /// New in Fall Creators Update: Specifies the behavior that the toast should use when the user invokes this action. Note that this option only works on <see cref="ToastButton"/> and <see cref="ToastContextMenuItem"/>. Desktop-only, supported in builds 16251 or higher.
|
|
|
/// </summary>
|
|
|
- [Obsolete("Windows does not support AfterActivationBehavior. If a future version of Windows supports this, we will undeprecate the property when support is added.")]
|
|
|
public ToastAfterActivationBehavior AfterActivationBehavior { get; set; } = ToastAfterActivationBehavior.Default;
|
|
|
|
|
|
internal void PopulateElement(IElement_ToastActivatable el)
|
|
|
@@ -39,9 +38,7 @@ namespace Microsoft.Toolkit.Uwp.Notifications
|
|
|
}
|
|
|
|
|
|
el.ProtocolActivationTargetApplicationPfn = ProtocolActivationTargetApplicationPfn;
|
|
|
-#pragma warning disable 618
|
|
|
el.AfterActivationBehavior = AfterActivationBehavior;
|
|
|
-#pragma warning restore 618
|
|
|
}
|
|
|
}
|
|
|
}
|