I defined the visibility of my combobox as Collapsed, for visual reasons and since the AppBarButton is more presentable. I want to know if it's possible to call the combobox event by triggering the event of an AppBarButton?
Something like:
private void teste_click(object sender, RoutedEventArgs e)
{
private void combobox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
{ ...
} }
or
<AppBarButton x:Name="teste" HorizontalAlignment="Left" Icon="Undo" Label="" Margin="11.5,12,0,0" Grid.RowSpan="3" VerticalAlignment="Top" Click="combobox1_SelectionChanged" Grid.Column="1"/>