ChatGPTAIRewritingContent.xaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <UserControl x:Class="PDF_Master.Views.HomePanel.ChatGPTAI.ChatGPTAIRewritingContent"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Master.Views.HomePanel.ChatGPTAI"
  7. xmlns:converter="clr-namespace:PDF_Master.DataConvert"
  8. xmlns:prism ="http://prismlibrary.com/"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. Background="White" MinWidth="540" MinHeight="460"
  11. mc:Ignorable="d"
  12. d:DesignHeight="760" d:DesignWidth="1032"
  13. >
  14. <Grid>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="*" />
  17. <RowDefinition Height="*" />
  18. </Grid.RowDefinitions>
  19. <StackPanel Grid.Row="0">
  20. <Grid Width="968">
  21. <StackPanel HorizontalAlignment="Left">
  22. <TextBlock Text="AI Rewriting" FontFamily="Segoe UI"
  23. FontSize="20"
  24. FontWeight="Bold"
  25. Foreground="{StaticResource color.sys.text.neutral.lv1}" Height="28" HorizontalAlignment="Left"></TextBlock>
  26. <TextBlock
  27. HorizontalAlignment="Center"
  28. FontFamily="Segoe UI"
  29. FontSize="14"
  30. Foreground="#94989C"
  31. Text="Limited to 150 characters per session, 5 times per month"
  32. TextAlignment="Center"
  33. TextWrapping="Wrap"
  34. />
  35. </StackPanel>
  36. <Button HorizontalAlignment="Right" Width="104" Height="32" Content="Rewrite" VerticalAlignment="Bottom" Style="{StaticResource Btn.cta}"></Button>
  37. </Grid>
  38. <Grid Width="968" Height="260" Margin="0,12,0,0">
  39. <TextBox Name="textBoxEnterCharacters" Width="968" Height="260" >
  40. </TextBox>
  41. <TextBlock Text="{Binding ElementName=textBoxEnterCharacters,Path=Text.Length,StringFormat={}{0:/150}}" Panel.ZIndex="1" Height="22" FontSize="14" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,12,8"/>
  42. </Grid>
  43. </StackPanel>
  44. <StackPanel Grid.Row="1">
  45. <Grid Width="968">
  46. <TextBlock Text="Result" FontFamily="Segoe UI"
  47. FontSize="20"
  48. FontWeight="Bold"
  49. Foreground="{StaticResource color.sys.text.neutral.lv1}" Height="28" HorizontalAlignment="Left"></TextBlock>
  50. <Button HorizontalAlignment="Right" Width="104" Height="32" Content="Copy" Background="White"></Button>
  51. </Grid>
  52. <TextBox Width="968" Height="260" Margin="0,12,0,0">
  53. </TextBox>
  54. </StackPanel>
  55. </Grid>
  56. </UserControl>