获取任务栏高度

任务兰高度:
double _distanceTaskBar = SystemParameters.PrimaryScreenHeight- SystemParameters.WorkArea.Height;

最大化后窗体的实际高度为1454
但是全屏高度为1440
不知其解:、
SystemParameters.PrimaryScreenHeight=1440;
his.ActualHeight=1454

posted @ 2021-12-15 15:19  猝不及防  阅读(264)  评论(0编辑  收藏  举报