网站首页
编程语言
数据库
系统相关
其他分享
编程问答
blueQ
2024-09-26
wpf ToggleButton选中效果和一个登录界面
先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness<SetterProperty="BorderThickness"TargetName="brd