TMinSexView.xaml 2.92 KB
<!--
    ****************************************************************
    * 作    者 :姜  彦
    * 项目名称 :RCS.WinClient.Controls.View
    * 控件名称 :TMinSexView
    * 命名空间 :RCS.WinClient.Controls.View
    * CLR 版本 :4.0.30319.42000
    * 创建时间 :2017/8/4 9:10:14
    * 当前版本 :1.0.0.1
    * My  Email:771078740@qq.com
    * 描述说明:
    *
    * 修改历史:
    *
    ****************************************************************
    * Copyright @ JiangYan 2018 All rights reserved
    ****************************************************************
-->
<UserControl
    x:Class="RCS.WinClient.Controls.View.TMinSexView"
    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:my="clr-namespace:RCS.WinClient.Controls.View"
    d:DesignHeight="180"
    d:DesignWidth="240"
    Loaded="UserControl_Loaded"
    mc:Ignorable="d">

    <Border BorderBrush="#FF88C1F2" BorderThickness="2">

        <Grid>

            <Grid.RowDefinitions>
                <RowDefinition Height="20" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <Grid Grid.Row="0" Background="#FFAFCCF8">
                <TextBlock
                    x:Name="textBlockTitle"
                    Width="145"
                    Margin="0,2,1,0"
                    HorizontalAlignment="Right"
                    FontSize="12"
                    Foreground="White"
                    Text="分    钟" />

                <my:IconButton
                    x:Name="iBtnCloseView"
                    Width="18"
                    Height="18"
                    Margin="0,0,1,0"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Top"
                    Click="iBtnCloseView_Click"
                    Icon="pack://application:,,,/Controls/Image/close.png" />

            </Grid>

            <DataGrid
                Name="dgMinSex"
                Grid.Row="1"
                VerticalAlignment="Top"
                AlternationCount="1"
                AutoGenerateColumns="True"
                Background="White"
                BorderBrush="White"
                CanUserAddRows="False"
                ColumnWidth="18"
                FontSize="11"
                HeadersVisibility="Row"
                HorizontalGridLinesBrush="#d2d2d2"
                IsReadOnly="True"
                RowHeaderWidth="0"
                RowHeight="18"
                SelectedCellsChanged="dgMinSex_SelectedCellsChanged"
                SelectionMode="Single"
                SelectionUnit="Cell"
                VerticalGridLinesBrush="#d2d2d2">
                />
            </DataGrid>




        </Grid>

    </Border>


</UserControl>