Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个单选按钮,我想代表真值和假值。
我怎样才能用 WPF 做到这一点?
您可以使用ToggleButtonwhich hasIsChecked属性表示真值和假值。
ToggleButton
IsChecked