<Window x:Class="CollaborativePlatformProject.CollaborationPlatform.Form.ToolsForm"
        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:CollaborativePlatformProject.CollaborationPlatform.Form"

        xmlns:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
        xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
        mc:Ignorable="d"
        AllowsTransparency="True"
        Background=" Transparent"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None"
        Title="" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Closed="ToolsForm_OnClosed">
    <LayUI:LayTitleBar Background="{DynamicResource Blue}"   CornerRadius="10"
                       WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
        <LayUI:LayTitleBar.Header>
            <Border Height="35">
                <DockPanel>
                    <TextBlock Margin="10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
                               Text="功能工具" />
                </DockPanel>
            </Border>
        </LayUI:LayTitleBar.Header>

        <Border  CornerRadius="0 0 10 10" Background="White">

            <StackPanel Width="250" Height="400" Margin="0 0 0 10">
                <ListView HorizontalAlignment="Left" Background="White" BorderThickness="0"
                      VerticalAlignment="Top" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
                      ScrollViewer.VerticalScrollBarVisibility="Hidden" Width="250"
                      x:Name="lv_projectInfo"  Height="400" Visibility="Visible" d:ItemsSource="{d:SampleData ItemCount=5}">

                    <!--隐藏列头-->
                    <ListView.Resources>
                        <Style TargetType="{x:Type GridViewColumnHeader}">
                            <Setter Property="Visibility" Value="Collapsed" />
                        </Style>
                    </ListView.Resources>

                    <ListView.ItemContainerStyle>
                        <Style TargetType="ListViewItem">
                            <Setter Property="Height" Value="35" />
                        </Style>
                    </ListView.ItemContainerStyle>

                    <ListView.View>
                        <GridView  x:Name="gridview">
                            <GridViewColumn  Width="190" x:Name="Column1">
                                <GridViewColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  HorizontalAlignment="Left" Height="20" TextWrapping="Wrap"
                                                Text="{Binding BtnName}"
                                                VerticalAlignment="Center" />
                                    </DataTemplate>
                                </GridViewColumn.CellTemplate>
                            </GridViewColumn>
                        </GridView>
                    </ListView.View>
                </ListView>
            </StackPanel>
        </Border>
    </LayUI:LayTitleBar>
</Window>