Style="{StaticResource ComboBoxChartToggleButton}"
Focusable="false"
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
ClickMode="Press" & gt;
"IsHitTestVisible="False"
"Content=" {TemplateBinding SelectionBoxItem}
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
Margin="10,3,30.0, 3"
VerticalAlignment="Center"
HorizontalAlignment="Center" & gt;
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="3,3,23,3"
Focusable="True"
The Visibility="Hidden"
Foreground="White"
CaretBrush="White"
IsReadOnly="{TemplateBinding IsReadOnly}"/& gt;
"
Placement="Bottom"
IsOpen="{TemplateBinding IsDropDownOpen}"
AllowsTransparency="True"
Focusable="False"
PopupAnimation="Slide" & gt;
"SnapsToDevicePixels="True"
MinWidth="{TemplateBinding ActualWidth}"
MaxHeight="{TemplateBinding MaxDropDownHeight}"
Padding="5,0,7,0" & gt;
<,6,4,6 ScrollViewer Margin="4" SnapsToDevicePixels="True" & gt;
Page link:https//www.codepudding.com/net/6964.html