Skip to content

Commit 481b744

Browse files
authored
doc(Table): update EditDialogIsDraggable documentation (#6683)
* doc(Table): 更新文档 * doc: 更新示例
1 parent 2136312 commit 481b744

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/BootstrapBlazor.Server/Components/Samples/Table/TablesEdit.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</section>
7575
<Table TItem="Foo"
7676
IsPagination="true" PageItemsSource="@PageItemsSource"
77-
IsStriped="true" IsBordered="true" IsMultipleSelect="true" EditDialogIsDraggable="true"
77+
IsStriped="true" IsBordered="true" IsMultipleSelect="true" EditDialogIsDraggable="true" EditDialogShowMaximizeButton="false"
7878
ShowToolbar="true" ShowExtendButtons="true" ShowSkeleton="true" IsExtendButtonsInRowHeader="true"
7979
OnQueryAsync="@OnQueryAsync"
8080
OnAddAsync="@OnAddAsync" OnSaveAsync="@OnSaveAsync" OnDeleteAsync="@OnDeleteAsync">

src/BootstrapBlazor/Components/Table/Table.razor.Toolbar.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ protected async Task SaveAsync(EditContext context, ItemChangedType changedType)
757757
public Size EditDialogSize { get; set; } = Size.ExtraExtraLarge;
758758

759759
/// <summary>
760-
/// 获得/设置 编辑框是否可以拖拽 默认 false 不可以拖拽
760+
/// 获得/设置 编辑框是否可以拖拽 默认 false 不可以拖拽,参数 <see cref="EditDialogShowMaximizeButton"/> 值为 false 时此参数才生效
761761
/// </summary>
762762
[Parameter]
763763
public bool EditDialogIsDraggable { get; set; }
@@ -769,7 +769,7 @@ protected async Task SaveAsync(EditContext context, ItemChangedType changedType)
769769
public FullScreenSize EditDialogFullScreenSize { get; set; }
770770

771771
/// <summary>
772-
/// 获得/设置 编辑框是否显示最大化按钮 默认 true 显示
772+
/// 获得/设置 编辑框是否显示最大化按钮 默认 true 显示,此时 <see cref="EditDialogIsDraggable"/> 参数无效
773773
/// </summary>
774774
[Parameter]
775775
public bool EditDialogShowMaximizeButton { get; set; } = true;

0 commit comments

Comments
 (0)