Skip to content

Commit addd466

Browse files
committed
Update Styles.ComboBox.xaml
1 parent 6161103 commit addd466

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/WPFDevelopers.Shared/Styles/Styles.ComboBox.xaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@
132132
CornerRadius="{Binding Path=(helpers:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
133133
SnapsToDevicePixels="True">
134134
<controls:SmallPanel>
135-
<ToggleButton
136-
x:Name="PART_ToggleButton"
137-
Background="{TemplateBinding Background}"
138-
ClickMode="Press"
139-
Focusable="False"
140-
IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
141-
Style="{x:Null}"
142-
Template="{StaticResource WD.ComboBoxToggleButton}" />
143135
<ContentPresenter
144136
x:Name="ContentSite"
145137
Margin="{TemplateBinding Padding}"
@@ -174,6 +166,14 @@
174166
Text="{Binding Path=(helpers:ElementHelper.Watermark), RelativeSource={RelativeSource TemplatedParent}}"
175167
TextTrimming="CharacterEllipsis"
176168
Visibility="Collapsed" />
169+
<ToggleButton
170+
x:Name="PART_ToggleButton"
171+
Background="{TemplateBinding Background}"
172+
ClickMode="Press"
173+
Focusable="False"
174+
IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
175+
Style="{x:Null}"
176+
Template="{StaticResource WD.ComboBoxToggleButton}" />
177177
<Popup
178178
x:Name="PART_Popup"
179179
MinWidth="{TemplateBinding FrameworkElement.ActualWidth}"

0 commit comments

Comments
 (0)