问题
I am assigned to convert delphi code to .Net, and was wondering if we have down property of button as in delphi has? As answered in this link How to make a Delphi TSpeedButton stay pressed if it's the only one in the group
Can we achieve this behavior in .Net Button control?
回答1:
Try to use CheckBox control. Set Appearance property to Button to make it look like a toggle button.
来源:https://stackoverflow.com/questions/9931516/do-we-have-button-down-property-as-boolean