Skip to content

Commit dc0d231

Browse files
Remove commented out XAML in style
1 parent aec2ade commit dc0d231

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/TokenizingTextBox/TokenizingTextBoxItem.AutoSuggestBox.xaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,17 +290,12 @@
290290
<Style x:Key="TokenizingTextBoxItemTextStyle" TargetType="controls:TokenizingTextBoxItem">
291291
<Setter Property="Background" Value="{ThemeResource SystemControlBackgroundChromeMediumLowBrush}" />
292292
<Setter Property="BorderBrush" Value="{ThemeResource SystemControlTransparentBrush}" />
293-
<!-- <Setter Property="BorderThickness" Value="{StaticResource TokenizingTextBoxItemBorderThickness}" />
294-
<Setter Property="HorizontalContentAlignment" Value="{StaticResource TokenizingTextBoxItemHorizontalContentAlignment}" />
295-
<Setter Property="Padding" Value="{StaticResource TokenizingTextBoxItemPadding}" />
296-
<Setter Property="VerticalContentAlignment" Value="{StaticResource TokenizingTextBoxItemVerticalContentAlignment}" />-->
297293
<Setter Property="IsTabStop" Value="False" />
298294
<Setter Property="UseSystemFocusVisuals" Value="False" />
299295
<Setter Property="MinWidth" Value="128" />
300296
<Setter Property="Template">
301297
<Setter.Value>
302298
<ControlTemplate TargetType="controls:TokenizingTextBoxItem">
303-
<!-- TODO: Thinking we should just give a reference to the parent for each item when we construct the container? -->
304299
<AutoSuggestBox Name="PART_AutoSuggestBox"
305300
UpdateTextOnSelect="False"
306301
DisplayMemberPath="{Binding Path=Owner.DisplayMemberPath, RelativeSource={RelativeSource Mode=TemplatedParent}}"
@@ -311,7 +306,6 @@
311306
Style="{StaticResource SystemAutoSuggestBoxStyle}"
312307
Text="{Binding Text, Mode=TwoWay}"
313308
TextBoxStyle="{StaticResource TokenizingTextBoxTextBoxStyle}"/>
314-
<!-- TODO: Visual State to style autosuggestbox based on focus? -->
315309
</ControlTemplate>
316310
</Setter.Value>
317311
</Setter>

0 commit comments

Comments
 (0)