Skip to main content
All docs
V23.2
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

NotificationsOptions.NotificationsStartDelay Property

Specifies the delay from the application start to the initial Reminders Window display.

Namespace: DevExpress.ExpressApp.Notifications.Win

Assembly: DevExpress.ExpressApp.Notifications.Win.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Notifications.Win

Declaration

public TimeSpan NotificationsStartDelay { get; set; }

Property Value

Type Description
TimeSpan

A TimeSpan value that specifies the delay from the application start to the initial Reminders Window display. The default is 5 seconds.

Remarks

The following example demonstrates how to specify this property:

File: MySolution.Win\Startup.cs.

using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Win.ApplicationBuilder;
// ...
public class ApplicationBuilder : IDesignTimeApplicationFactory {
    public static WinApplication BuildApplication(string connectionString) {
        var builder = WinApplication.CreateBuilder();
        builder.UseApplication<MySolutionWindowsFormsApplication>();
        builder.Modules
            // ...
            .AddNotifications(options => {
                options.NotificationsStartDelay = new TimeSpan(0, 0, 10);
            })
        // ...
    }
    // ...
}
See Also