摘要:
首先是利用 ItemsControl 来随机(或者根据绑定传的值)来分布位置 主要是用Canvas来当画布, 然后由值来调整位置 首先,创建实体类 public class ClassA { public double UpTop{ get; set; } public double UpLeft{ 阅读全文
摘要:
看到一些资料与教程视频, 首先 我们先做好一个公共的INotifyPropertyChanged事件,也就是通知更新,当然 如果你安装了MvvmLight包,可以直接直接不用写 public class ViewModelBase : INotifyPropertyChanged { public 阅读全文
摘要:
直接上代码 给你们看看梨子 <Window.Resources> <Style x:Key="BorderStyle" TargetType="{x:Type Border}"> <Setter Property="BorderThickness" Value="5" /> <Style.Trigg 阅读全文
摘要:
StaticResource 是静态资源 DynamicResource是动态资源 用一下例子说明 <Window.Resources> <Style x:Key="BorderStyle" TargetType="{x:Type Border}"> <Setter Property="Border 阅读全文
摘要:
看到一堆人写这东西还收费,我就佛了,特喵我直接弄了一个,代码都差不多 ,各位朋友拿去用! <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>请假条</title> <style> html, body { ma 阅读全文