0
我试图实现两个并排响应按钮,我希望它们的行为如下图所示。XAML UWP自适应按钮
这是我的XAML:
<RelativePanel x:Name="contentPanel">
<Button x:Name="submitButton" Content="Submit"
Margin="0,40,0,0"
MinWidth="250"
RelativePanel.AlignLeftWithPanel="True"/>
<Button x:Name="annulerButton" Content="Cancel"
Margin="5,40,0,0"
MinWidth="250"
RelativePanel.RightOf="submitButton"
RelativePanel.AlignRightWithPanel="True"/>
<RelativePanel/>
请,任何帮助吗?
谢谢你这么多@Naidu,它工作得很好! – Yvder