当前位置: 首页 > news >正文

wpf控件上移下移,调整子集控件显示顺序

在这里插入图片描述

页面代码:

<!-- 导出A2,自定义导出设置列,添加时间:2023-8-9 14:14:18,作者:whl;  --><Window x:Class="WpfSnqkGasAnalysis.WindowGasExportA2"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"xmlns:local="clr-namespace:WpfSnqkGasAnalysis"mc:Ignorable="d"WindowStartupLocation="CenterScreen"FontSize="16"Title="导出A2,自定义导出设置列" Height="744" Width="800"><Window.Resources><Style TargetType="Button" x:Key="sel_button"><Setter Property="Margin" Value="13,2"></Setter><Setter Property="Padding" Value="10,2"></Setter><Setter Property="FontSize" Value="16"></Setter><Setter Property="HorizontalContentAlignment" Value="Left"></Setter></Style><Style TargetType="Border" x:Key="boder_order"><Setter Property="MinWidth" Value="233"></Setter><!--<Setter Property="BorderBrush" Value="Lime"></Setter><Setter Property="BorderThickness" Value="2"></Setter>--><Setter Property="Margin" Value="20,2"></Setter><Style.Resources><Style TargetType="Label"><Setter Property="FontSize" Value="16"></Setter></Style><Style TargetType="TextBox"><Setter Property="FontSize" Value="16"></Setter></Style></Style.Resources></Style></Window.Resources><Grid><Grid.RowDefinitions><RowDefinition Height="70"></RowDefinition><RowDefinition Height="*"></RowDefinition></Grid.RowDefinitions><Grid Grid.Row="0"  ><Border BorderBrush="Gold" BorderThickness="0,0,0,1" ><Grid><Label   HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top">注意:请先点击左侧需要导出的字段,以作为导出列</Label><TextBlock HorizontalAlignment="Left" Margin="70,44,0,0" TextWrapping="Wrap" FontWeight="Bold" Text="勾选导出列" VerticalAlignment="Top" RenderTransformOrigin="0.952,0.48"/><TextBlock HorizontalAlignment="Left" Margin="376,44,0,0" TextWrapping="Wrap"  FontWeight="Bold" Text="已勾选的导出列" VerticalAlignment="Top"/></Grid></Border></Grid><Grid Grid.Row="1"><Grid  ShowGridLines="True"  ><Grid.ColumnDefinitions><ColumnDefinition Width="284"    ></ColumnDefinition><ColumnDefinition Width="*"   ></ColumnDefinition></Grid.ColumnDefinitions><ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto"   ><StackPanel     x:Name="leftFields" Orientation="Vertical"  Background="#FFFFFF"    ><Button Content="样品编号"   Tag="k338_sample_no" Style="{StaticResource sel_button}" /><Button Content="井号"   Tag="k338_well_no" Style="{StaticResource sel_button}"  /><Button Content="类别"   Tag="k338_cate" Style="
http://www.lryc.cn/news/126315.html

相关文章:

  • cesium学习记录08-鼠标绘制多边形
  • rocketMq启动broker报错找不到或无法加载主类 Files\Java\jdk1.8.0_171\lib\dt.jar;C:\Program]
  • Linux touch 命令指南大全
  • 华为网络篇 RIPv2的基础配置-25
  • fastadmin 下拉多级分类
  • 时序预测 | MATLAB实现基于CNN-LSTM卷积长短期记忆神经网络的时间序列预测-递归预测未来(多指标评价)
  • RabbitMQ工作流程详解
  • LabVIEW使用图像处理进行交通控制性能分析
  • CentOS 7 下 Keepalived + Nginx 实现双机高可用
  • 【Linux】IO多路转接——select接口
  • error_Network Error
  • Python爱心光波
  • 【分布式】Viewstamped Replication Revisited
  • 微服务07-分布式缓存
  • QGraphicsView放大时,paint有时不被调用,导致图像绘制不出来(2)
  • 深入理解设计模式-创建型之建造者模式(与工厂区别)
  • Centos7多台服务器免密登录
  • C语言实现哈希搜索算法
  • MySQL卸载并重装指定版本
  • 文件IO编程 1 2
  • Java后端框架模块整合
  • 17 synchronized关键字使用 synchronized方法、synchronized块
  • django-基本环境配置
  • Springboot 实践(4)swagger-ui 测试controller
  • PHP实践:分布式场景下的Session共享解决方案实现
  • 07 - 查看、创建、切换和删除分支
  • 【SpringBoot】89、SpringBoot中使用@Transactional进行事务管理
  • 两天入门Linux、搭建Spring环境 第一天
  • OpenCV实例(九)基于深度学习的运动目标检测(一)YOLO运动目标检测算法
  • CI/CD流水线实战