< Windowx: 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> < StyleTargetType = " 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> < StyleTargetType = " 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> < StyleTargetType = " TextBox" > <Setter Property="FontSize"  Value="16" ></Setter> </ Style> </ Style.Resources> </ Style> </ Window.Resources> < Grid> < Grid.RowDefinitions> < RowDefinitionHeight = " 70" > </ RowDefinition> < RowDefinitionHeight = " *" > </ RowDefinition> </ Grid.RowDefinitions> < GridGrid.Row = " 0" > < BorderBorderBrush = " Gold" BorderThickness = " 0,0,0,1" > < Grid> < LabelHorizontalAlignment = " Left" Margin = " 0,0,0,0" VerticalAlignment = " Top" > </ Label> < TextBlockHorizontalAlignment = " Left" Margin = " 70,44,0,0" TextWrapping = " Wrap" FontWeight = " Bold" Text = " 勾选导出列" VerticalAlignment = " Top" RenderTransformOrigin = " 0.952,0.48" /> < TextBlockHorizontalAlignment = " Left" Margin = " 376,44,0,0" TextWrapping = " Wrap" FontWeight = " Bold" Text = " 已勾选的导出列" VerticalAlignment = " Top" /> </ Grid> </ Border> </ Grid> < GridGrid.Row = " 1" > < GridShowGridLines = " True" > < Grid.ColumnDefinitions> < ColumnDefinitionWidth = " 284" > </ ColumnDefinition> < ColumnDefinitionWidth = " *" > </ ColumnDefinition> </ Grid.ColumnDefinitions> < ScrollViewerGrid.Column = " 0" VerticalScrollBarVisibility = " Auto" > < StackPanelx: Name= " leftFields" Orientation = " Vertical" Background = " #FFFFFF" > < ButtonContent = " 样品编号" Tag = " k338_sample_no" Style = " { StaticResource sel_button} " /> < ButtonContent = " 井号" Tag = " k338_well_no" Style = " { StaticResource sel_button} " /> < ButtonContent = " 类别" Tag = " k338_cate" Style = "