Skip to content

Commit 76233bf

Browse files
committed
feat(DockView): 增加 Partial 局部渲染参数
1 parent fb2d6dd commit 76233bf

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
1+
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
// Website: https://www.blazor.zone or https://argozhang.github.io/
44

55
namespace BootstrapBlazor.Components;
66

77
/// <summary>
8-
/// DockViewRenderMode 渲染模式枚举类型
8+
/// <para lang="zh">DockViewRenderMode 渲染模式枚举类型</para>
9+
/// <para lang="en">DockViewRenderMode render mode enumeration type</para>
910
/// </summary>
1011
[JsonEnumConverter(true)]
1112
public enum DockViewRenderMode
1213
{
1314
/// <summary>
14-
/// 可见时渲染
15+
/// <para lang="zh">可见时渲染</para>
16+
/// <para lang="en">Render when visible</para>
1517
/// </summary>
1618
OnlyWhenVisible,
1719

1820
/// <summary>
19-
/// 始终渲染
21+
/// <para lang="zh">始终渲染</para>
22+
/// <para lang="en">Always render</para>
2023
/// </summary>
21-
Always
24+
Always,
25+
26+
/// <summary>
27+
/// <para lang="zh">可见版面渲染 不可见版面异步渲染</para>
28+
/// <para lang="en">Render visible layout, asynchronously render invisible layout</para>
29+
/// </summary>
30+
Partial
2231
}

src/components/BootstrapBlazor.DockView/Components/DockViewV2.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
1+
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
// Website: https://www.blazor.zone or https://argozhang.github.io/
44

0 commit comments

Comments
 (0)