LinkToolAddin/ui/dockpane/DialogDockpane.xaml

55 lines
2.3 KiB
XML

<UserControl x:Class="LinkToolAddin.ui.dockpane.DialogDockpaneView"
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:ui="clr-namespace:LinkToolAddin.ui.dockpane"
xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
d:DataContext="{Binding Path=ui.DialogDockpaneViewModel}">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid Margin="10" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="4*"/>
<RowDefinition Height="10"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto" Name="MessageScrollViewer">
</ScrollViewer>
<DockPanel Grid.Row="2" Background="AliceBlue" Margin="0,0,0,0">
<Button
x:Name="SendButton"
Content="发送"
Width="45"
Height="40"
Margin="5,0,5,0"
Background="#FFD0E0F0"
BorderBrush="#FFA0B0C0"
BorderThickness="1"
Padding="0"
DockPanel.Dock="Right"
Click="Send_0nclick"/>
<TextBox x:Name="InputTextBox"
Height="40"
Margin="5,0,5,0"
TextWrapping="Wrap"
Background="White"
BorderBrush="#FFD0D0D0"
BorderThickness="1"
Padding="5"/>
</DockPanel>
</Grid>
</UserControl>