How can I make an invisible, yet clickable button in C#

前端 未结 2 1352
梦如初夏
梦如初夏 2021-02-12 13:44

I would like to be able to have a button that is not visible, but able to trigger a click event when clicked.

I\'m looking at this page MSDN: System.windows.visibilty a

相关标签:
2条回答
  • 2021-02-12 14:14

    Try setting the Button's Opacity...

    <Button Opacity="0" />
    
    0 讨论(0)
  • 2021-02-12 14:36

    Can't you use the Opacity property?

    0 讨论(0)
提交回复
热议问题