Я хочу минимизировать высоту BottomAppBar, это мой код xaml:
<Page.BottomAppBar >
<CommandBar Background="#393185"
Foreground="White" VerticalAlignment="Stretch" Style="{Binding Source={StaticResource Ellipsis}}" Height="40" MaxHeight="40" >
<CommandBar.CommandBarOverflowPresenterStyle>
<Style TargetType="CommandBarOverflowPresenter">
<Setter Property="Background"
Value="#00a0e3" ></Setter>
<Setter Property="Margin" Value="0"></Setter>
<Setter Property="Padding" Value="0"></Setter>
<Setter Property="BorderBrush" Value="Transparent"/>
</Style>
</CommandBar.CommandBarOverflowPresenterStyle>
<CommandBar.PrimaryCommands>
<AppBarButton Label="Cortana"
Icon="Microphone"
Foreground="White" />
</CommandBar.PrimaryCommands>
<CommandBar.SecondaryCommands >
<AppBarButton Label="Info"
Foreground="White" Background="#00a0e3"/>
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
стиль "Ellepsis" является стилем по умолчанию для панели команд ="nofollow noreferrer">ссылка, но я получаю следующий результат:
Я получаю в результате пространство, которое вы можете видеть на изображении (в верхней части BottomAppbar)
какой параметр я должен изменить в этом стиле, чтобы минимизировать высоту нижнего AppBar без пробела, который я получаю в результате
Спасибо за помощь