ProjectForm.xaml 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <Window x:Class="CollaborativePlatformMain.Form.ProjectForm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:CollaborativePlatformMain.Form"
  7. xmlns:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
  8. xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
  9. mc:Ignorable="d"
  10. AllowsTransparency="True"
  11. Background=" Transparent"
  12. WindowStartupLocation="CenterScreen"
  13. WindowStyle="None"
  14. Title="" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Closed="ProjectForm_OnClosed">
  15. <LayUI:LayTitleBar Background="{DynamicResource Blue}" CornerRadius="10"
  16. WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
  17. <LayUI:LayTitleBar.Header>
  18. <Border Height="35">
  19. <DockPanel>
  20. <TextBlock Margin="10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
  21. Text="项目信息" />
  22. </DockPanel>
  23. </Border>
  24. </LayUI:LayTitleBar.Header>
  25. <StackPanel Name="sp_pro" Background="White">
  26. </StackPanel>
  27. </LayUI:LayTitleBar>
  28. </Window>