Files
2023-04-16 20:11:40 +08:00

27 lines
1.6 KiB
XML

<Window x:Class="AIStudio.Wpf.Mind.Controls.NodeDTSWindow"
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:AIStudio.Wpf.Mind.Controls"
mc:Ignorable="d"
WindowStyle="None"
WindowStartupLocation="CenterScreen"
Height="450" Width="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Margin="5" Text="{Binding Title}"/>
<Border BorderThickness="0,0,0,1" BorderBrush="DarkGray" VerticalAlignment="Bottom"></Border>
<TextBox Grid.Row="1" Margin="5" TextWrapping="Wrap" AcceptsReturn="True" AcceptsTab="True" Text="{Binding Content}"/>
<Border Grid.Row="2" BorderThickness="0,0,0,1" BorderBrush="DarkGray" VerticalAlignment="Top"></Border>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Margin="5" Padding="6,3" Background="#73a1bf" Foreground="White" BorderThickness="0" Content="OK" x:Name="btnOK" Click="btnOK_Click" IsDefault="True"/>
<Button Margin="5" Padding="6,3" Background="#FFEDA46F" Foreground="White" BorderThickness="0" Content="Cancel" x:Name="btnCancel" Click="btnCancel_Click" IsCancel="True" />
</StackPanel>
</Grid>
</Window>