Created
June 4, 2022 15:57
-
-
Save hatsunea/62afbfc256322e84d6f46def24a37b3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Window x:Class="TextSummarizationSDKSample.Views.MainWindow" | |
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:TextSummarizationSDKSample.Views" | |
DataContext="{Binding ViewModel, RelativeSource={RelativeSource Mode=Self}}" | |
mc:Ignorable="d" | |
Title="MainWindow" Height="450" Width="800"> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<TextBox Grid.Row="0" Text="{Binding InputData,Mode=TwoWay}" TextWrapping="Wrap" AcceptsReturn="True" /> | |
<Button Grid.Row="1" Content="Exec" Command="{Binding ExecCommand}" /> | |
<TextBox Grid.Row="2" Text="{Binding Result,Mode=TwoWay}" TextWrapping="Wrap" IsReadOnly="True" /> | |
</Grid> | |
</Window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment