Skip to content

Commit 7cdae3b

Browse files
committed
ux: should use IsEnabled instead of IsVisible
Signed-off-by: leo <longshuang@msn.cn>
1 parent 7d4baf0 commit 7cdae3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Views/Histories.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
Background="{DynamicResource Brush.Window}"
270270
BorderBrush="{DynamicResource Brush.Border0}"
271271
Focusable="False"
272-
IsVisible="{Binding #ThisControl.IsDetailsPanelExpanded, Mode=OneWay}"/>
272+
IsEnabled="{Binding #ThisControl.IsDetailsPanelExpanded, Mode=OneWay}"/>
273273

274274
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
275275
<ContentControl>

0 commit comments

Comments
 (0)