我想單擊template10 HamburgerMenu文字按鈕內的組合框。我怎麼做。如何忽略按鈕以捕獲我們在Template10中忽略的按鈕內的按鈕?
<Controls:HamburgerMenu x:Name="MyHamburgerMenu" PaneWidth="272">
<Controls:HamburgerMenu.PrimaryButtons>
<!-- user potrait -->
<Controls:HamburgerButtonInfo ButtonType="Literal" ClearHistory="True">
<RelativePanel Margin="52,4,12,4">
<Ellipse
x:Name="Potrait"
Width="100"
Height="100"
Margin="4"
RelativePanel.AlignLeftWithPanel="True"
RelativePanel.AlignRightWithPanel="True"
RelativePanel.AlignTopWithPanel="True"
Stroke="Black">
<Ellipse.Fill>
<ImageBrush ImageSource="ms-appx:///Assets/child potrait.jpg" Stretch="UniformToFill" />
</Ellipse.Fill>
</Ellipse>
<ComboBox
x:Name="User"
Margin="4"
HorizontalAlignment="Stretch"
RelativePanel.AlignLeftWithPanel="True"
RelativePanel.AlignRightWithPanel="True"
RelativePanel.Below="Potrait">
<ComboBoxItem Content="Amir" IsSelected="True" />
<ComboBoxItem Content="Aishah" />
<ComboBoxItem Content="Alia" />
</ComboBox>
<ComboBox
Margin="4"
HorizontalAlignment="Stretch"
RelativePanel.AlignLeftWithPanel="True"
RelativePanel.AlignRightWithPanel="True"
RelativePanel.Below="User">
<ComboBoxItem Content="Matematik" IsSelected="True" />
<ComboBoxItem Content="Bahasa Malaysia" />
<ComboBoxItem Content="Bahasa Inggeris" />
</ComboBox>
</RelativePanel>
</Controls:HamburgerButtonInfo>
我想點擊potrait下的組合框。現在,當我點擊potrait附近的任何地方(包括組合框),漢堡面板崩潰。
謝謝。