Skip to content

Commit 5dff125

Browse files
committed
Add more code comments
1 parent 66145bf commit 5dff125

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{DynamicResource SettingWindowFont}
3030
</FontFamily>
3131

32+
<!-- Context Menu for TextBox -->
3233
<ContextMenu x:Key="TextBoxContextMenu">
3334
<MenuItem Command="ApplicationCommands.Cut" Header="{DynamicResource cut}">
3435
<MenuItem.Icon>
@@ -53,6 +54,7 @@
5354
<MenuItem Command="ApplicationCommands.SelectAll" Header="{DynamicResource selectAll}" />
5455
</ContextMenu>
5556

57+
<!-- Content Control for foreground -->
5658
<Style TargetType="{x:Type ContentControl}">
5759
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
5860
</Style>
@@ -167,7 +169,7 @@
167169
</Setter>
168170
</Style>
169171

170-
<!-- Context Menu -->
172+
<!-- Custom Context Menu from UI.WPF.Modern to remove tab focus & focus visual -->
171173
<Style x:Key="ContextMenuStyleBase" TargetType="ContextMenu">
172174
<Setter Property="Background" Value="{DynamicResource MenuFlyoutPresenterBackground}" />
173175
<Setter Property="BorderBrush" Value="{DynamicResource MenuFlyoutPresenterBorderBrush}" />
@@ -274,7 +276,7 @@
274276

275277
<Style BasedOn="{StaticResource DefaultMenuItemStyle}" TargetType="MenuItem" />
276278

277-
<!-- List View -->
279+
<!-- List View from UI.WPF.Modern to adjust GridView item margin -->
278280
<Style
279281
x:Key="{x:Static GridView.GridViewItemContainerStyleKey}"
280282
BasedOn="{StaticResource DefaultListViewItemStyle}"

0 commit comments

Comments
 (0)