SplitButton该控件除了本身Button 的功能外,还具有下拉菜单的功能,能够在按键右側加入下拉菜单控件:

            <SplitButton Content="..." Width="80" Height="22"  Grid.Column="2"  Margin="10,0,2,0"                      
                         Command="{Binding SelectFileCommand}"
                         VerticalAlignment="Center" HorizontalAlignment="Center">
                <SplitButton.DropDownContent>
                    <Button Content="DownLoad" Command="{Binding DownLoadCommand}" />
                </SplitButton.DropDownContent>

相关文章:

  • 2021-07-22
  • 2021-11-09
  • 2022-02-18
  • 2022-12-23
  • 2022-02-09
  • 2021-09-13
  • 2021-05-20
猜你喜欢
  • 2021-10-21
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-08-31
相关资源
相似解决方案