You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
4.6 KiB
60 lines
4.6 KiB
<UserControl x:Class="Kingo.Plugin.General.View.UCDTBSLNYYSResult" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
xmlns:local="clr-namespace:Kingo.Plugin.General.View" |
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol" |
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
mc:Ignorable="d" |
|
d:DesignHeight="250" d:DesignWidth="500"> |
|
<UserControl.Resources> |
|
<ControlTemplate x:Key="ScrollViewerControlTemplate" TargetType="{x:Type ScrollViewer}"> |
|
<Grid x:Name="Grid" Background="{TemplateBinding Background}"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="*"/> |
|
<ColumnDefinition Width="Auto"/> |
|
</Grid.ColumnDefinitions> |
|
<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" /> |
|
<ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Style="{DynamicResource ScrollBarStyle1}" Width="5" MinWidth="5"/> |
|
</Grid> |
|
</ControlTemplate> |
|
</UserControl.Resources> |
|
<Grid Background="White"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="*"/> |
|
</Grid.RowDefinitions> |
|
<ScrollViewer Grid.Row="0" Grid.Column="0" x:Name="scrollContent" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Template="{DynamicResource ScrollViewerControlTemplate}"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="34"/> |
|
<RowDefinition Height="Auto"/> |
|
</Grid.RowDefinitions> |
|
<StackPanel Background="#FFE0DFDF" Orientation="Horizontal"> |
|
<Image Source="/Kingo.Plugin.General;component/Resources/test.png" VerticalAlignment="Top" Height="18" Width="30" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Foreground="Red" Text="外业举证信息" FontWeight="Bold"></TextBlock> |
|
</StackPanel> |
|
<dxlc:LayoutControl Grid.Row="1" Orientation="Vertical" LostFocus="LayoutControl_LostFocus" GotFocus="LayoutControl_GotFocus"> |
|
<dxlc:LayoutGroup> |
|
<dxlc:LayoutItem Height="30" Label="外业核查地类:" LabelHorizontalAlignment="Right"> |
|
<dxe:TextEdit x:Name="txt_Box" VerticalAlignment="Center" VerticalContentAlignment="Center" Text="{Binding HCBGDL, UpdateSourceTrigger=LostFocus}" IsReadOnly="True" Height="27" /> |
|
</dxlc:LayoutItem> |
|
</dxlc:LayoutGroup> |
|
<dxlc:LayoutGroup> |
|
</dxlc:LayoutGroup> |
|
<dxlc:LayoutGroup> |
|
<dxlc:LayoutItem Height="30" Label="核查时间:" LabelHorizontalAlignment="Right"> |
|
<dxe:TextEdit Height="27" IsReadOnly="True" Text="{Binding HCSJ,Mode=TwoWay}" /> |
|
</dxlc:LayoutItem> |
|
<dxlc:LayoutItem Height="30" Label="核查人员:" LabelHorizontalAlignment="Right"> |
|
<dxe:TextEdit Height="27" IsReadOnly="True" Text="{Binding HCRY,Mode=TwoWay}" /> |
|
</dxlc:LayoutItem> |
|
</dxlc:LayoutGroup> |
|
<dxlc:LayoutItem Label="外业核查记录:" LabelHorizontalAlignment="Right"> |
|
<dxe:TextEdit x:Name="txtYPSM" Height="100" TextWrapping="Wrap" LostFocus="TxtYPSM_LostFocus" GotFocus="TxtYPSM_GotFocus" VerticalContentAlignment="Top" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" MaxHeight="100" VerticalAlignment="Top" IsReadOnly="True" Text="{Binding HCJL,Mode=TwoWay}" /> |
|
</dxlc:LayoutItem> |
|
</dxlc:LayoutControl> |
|
</Grid> |
|
</ScrollViewer> |
|
</Grid> |
|
</UserControl>
|
|
|