Я использую DropShadowPanel из UWP Toolkit для применения эффекта тени к элементу управления Button.
Здесь документация: DropShadowPanel XAML Control
Дело в том, что я отредактировал шаблон стиля кнопки для круглых границ, но DropShadowPanel не соответствует новому шаблону:
<controls:DropShadowPanel BlurRadius="4.0"
ShadowOpacity="0.70"
OffsetX="5.0"
OffsetY="5.0"
Color="Black"
HorizontalAlignment="Left"
Margin="91,90,0,0"
VerticalAlignment="Top">
<Button x:Name="button"
Content="Button"
Style="{StaticResource ButtonStyle1}" />
</controls:DropShadowPanel>
И результат:
Итак, я ожидаю что-то вроде:
Есть ли у вас какие-либо идеи или приводит к аналогичному результату?
Заранее спасибо за вашу помощь,
С уважением