12 2023 档案

摘要:<ComboBox Name="cboChannel" Width="100" Height="20" MinHeight="10" VerticalAlignment="Center"> </ComboBox> 阅读全文
posted @ 2023-12-07 18:35 baivfhpwxf 阅读(25) 评论(0) 推荐(0) 编辑
摘要:文字旋转90度,纵向排列。 效果: <TextBlock Text="压 降 (mV)" VerticalAlignment="Center" TextWrapping="Wrap" FontSize="8"> <TextBlock.LayoutTransform> <!--文字同样旋转90度--> 阅读全文
posted @ 2023-12-07 14:53 baivfhpwxf 阅读(247) 评论(0) 推荐(0) 编辑
摘要:Border 基本使用 1单线效果 代码: <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="Red" /> 说明: BorderThickness="0,0,0,1" 可以分别设置四条边,顺序是:左 上 右 下 2虚线效果 代码 阅读全文
posted @ 2023-12-05 18:17 baivfhpwxf 阅读(24) 评论(0) 推荐(0) 编辑
摘要:WPF 选项卡 控件 美化 效果: 样式 <LinearGradientBrush x:Key="TabItem.Selected.BordernCjh" StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="#FFE8A6" Offset="0 阅读全文
posted @ 2023-12-04 22:03 baivfhpwxf 阅读(529) 评论(0) 推荐(0) 编辑
摘要:渐变方向 1. 默认是左上角到右下角 2.从左到右 <Border Height="35" Width="120"> <Border.Background> <LinearGradientBrush EndPoint="1,0"> <GradientStop Color="Yellow" Offse 阅读全文
posted @ 2023-12-04 16:55 baivfhpwxf 阅读(20) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 获取最新的24条数据 /// </summary> /// <returns></returns> public List<WeldResultModel> GetListByLase24() { var sql = @"SELECT TOP 24 * FROM 阅读全文
posted @ 2023-12-01 23:35 baivfhpwxf 阅读(9) 评论(0) 推荐(0) 编辑
摘要:报错背景 在一个新WPF项目中显示加载界面显示进度条和消息。用于封装消息和进度条值的 LoadModel 的loadmsg 属性的数据类型由LeoObservableCollection<string> 改成了ObservableCollection<string>,在界面上执行 Applicati 阅读全文
posted @ 2023-12-01 18:18 baivfhpwxf 阅读(509) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示