在 NavigationView UWP 中自定义 PaneToggle 按钮图标和位置

问题描述

我尝试使用认样式 PanetoggleButtonStyle 更改 PanetoggleButton 图标并将图标更改为“>”

<TextBlock
     x:Name="Icon"
     Text="&#xE76C;"
     FontSize="{TemplateBinding FontSize}"
     AutomationProperties.AccessibilityView="Raw"/>

但是当我尝试实现以下设计时,我无法将图标位置向右移动,如下所示

enter image description here

那么如何为 PanetoggleButton 创建自定义模板?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)