mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
UI - Restore last page when opening via double click on tray icon Windows - Fixed settings tray menu item opening release tab
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
namespace Artemis.UI.Shared.Routing;
|
|
|
|
/// <summary>
|
|
/// Represents navigation options used to control navigation behaviour.
|
|
/// </summary>
|
|
public class RouterNavigationOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a boolean indicating whether or not to add the navigation to the history.
|
|
/// </summary>
|
|
public bool AddToHistory { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Gets or sets a boolean indicating whether or not to recycle already active screens.
|
|
/// </summary>
|
|
public bool RecycleScreens { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Gets or sets a boolean indicating whether route changes should be ignored if they are a partial match.
|
|
/// </summary>
|
|
/// <example>If set to true, a route change from <c>page/subpage1/subpage2</c> to <c>page/subpage1</c> will be ignored.</example>
|
|
public bool IgnoreOnPartialMatch { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Gets or sets a boolean value indicating whether logging should be enabled.
|
|
/// <remarks>Errors and warnings are always logged.</remarks>
|
|
/// </summary>
|
|
public bool EnableLogging { get; set; } = true;
|
|
} |