• 2024-09-26wpf ToggleButton选中效果和一个登录界面
    先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness<SetterProperty="BorderThickness"TargetName="brd
  • 2024-06-15WPF Path LineGeometry,RectangleGeometry,EllipseGeometry
    usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Runtime.CompilerServices;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Data;usingSystem.Windows
  • 2024-06-06uniapp+vue3+swiper 高度自适应
    转自:https://blog.csdn.net/hjd2018/article/details/137261819  <template> <viewclass="top_swiper"> <swiper@change="onSwiperChange"class="swiper":style="{height:swiperHeight}"circularindicat