• 2024-09-26wpf ToggleButton选中效果和一个登录界面
    先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness<SetterProperty="BorderThickness"TargetName="brd