Skip to content

Commit f1c0b6f

Browse files
committed
Update 'false' to 'False' casing
1 parent 7da6a92 commit f1c0b6f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

IPConfig/Behaviors/ContextMenuLeftClickBehavior.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private static void OnMouseLeftButtonUp(object sender, RoutedEventArgs e)
7777
fe.ContextMenu.IsOpen = true;
7878

7979
// 设置切换形式打开上下文菜单。
80-
// 建议在 XAML 设置 ContextMenuService.IsEnabled="false" 以禁用右键打开功能,避免产生打开状态的切换冲突。
80+
// 建议在 XAML 设置 ContextMenuService.IsEnabled="False" 以禁用右键打开功能,避免产生打开状态的切换冲突。
8181
fe.ContextMenu.Closed += (s, e) => fe.IsEnabled = true;
8282
fe.IsEnabled = false;
8383
}

IPConfig/Themes/MyStyles.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<ResizeGrip x:Name="WindowResizeGrip"
135135
HorizontalAlignment="Right"
136136
VerticalAlignment="Bottom"
137-
IsTabStop="false"
137+
IsTabStop="False"
138138
Visibility="Collapsed" />
139139
</Grid>
140140

IPConfig/Views/IPConfigDetailView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<!--
5656
当光标悬停在此文本框边缘时,会导致高亮快速闪烁。
57-
通常可以通过设置 UseLayoutRounding="false" 来解决,但对此文本框无帮助。
57+
通常可以通过设置 UseLayoutRounding="False" 来解决,但对此文本框无帮助。
5858
-->
5959
<hc:TextBox x:Name="tbIPConfigName"
6060
Margin="0,0,0,4"

IPConfig/Views/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<Button b:ContextMenuLeftClickBehavior.IsLeftClickEnabled="True"
8282
Background="Transparent"
8383
ContextMenuService.HorizontalOffset="-94"
84-
ContextMenuService.IsEnabled="false"
84+
ContextMenuService.IsEnabled="False"
8585
ContextMenuService.Placement="Bottom"
8686
Style="{StaticResource ButtonCustom}"
8787
Tag="{Binding DataContext, RelativeSource={RelativeSource Self}}">

IPConfig/Views/ThemeSwitchButtonView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<Button x:Name="btnThemeSwitcher"
2929
b:ContextMenuLeftClickBehavior.IsLeftClickEnabled="True"
3030
ContextMenuService.HorizontalOffset="-72"
31-
ContextMenuService.IsEnabled="false"
31+
ContextMenuService.IsEnabled="False"
3232
ContextMenuService.Placement="Top"
3333
Style="{StaticResource ButtonCustom}"
3434
ToolTip="{Binding Path=(h:ThemeManager.CurrentSkinTypeMode), Converter={StaticResource SkinTypeToolTipConverter}}">

0 commit comments

Comments
 (0)