优化更新代码,添加界面功能并整合
This commit is contained in:
29
WPFluent/Controls/NavigationView/NavigationCacheMode.cs
Normal file
29
WPFluent/Controls/NavigationView/NavigationCacheMode.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
|
||||
// Based on Windows UI Library
|
||||
// Copyright(c) Microsoft Corporation.All rights reserved.
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace WPFluent.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies caching characteristics for a page involved in a navigation.
|
||||
/// </summary>
|
||||
public enum NavigationCacheMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The page is never cached and a new instance of the page is created on each visit.
|
||||
/// </summary>
|
||||
Disabled,
|
||||
|
||||
/// <summary>
|
||||
/// The page is cached, but the cached instance is discarded when the size of the cache for the frame is exceeded.
|
||||
/// </summary>
|
||||
Enabled,
|
||||
|
||||
/// <summary>
|
||||
/// The page is cached and the cached instance is reused for every visit regardless of the cache size for the frame.
|
||||
/// </summary>
|
||||
Required,
|
||||
}
|
||||
Reference in New Issue
Block a user