CertificateInfoControl.xaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <UserControl x:Class="Compdfkit_Tools.PDFControl.CertificateInfoControl"
  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:Compdfkit_Tools.PDFControl"
  7. xmlns:common="clr-namespace:Compdfkit_Tools.Common"
  8. mc:Ignorable="d"
  9. d:DesignHeight="650" d:DesignWidth="750">
  10. <UserControl.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="../../Asset/Styles/TabControlStyle.xaml"></ResourceDictionary>
  14. <ResourceDictionary Source="../../Asset/Styles/TabItemStyle.xaml"></ResourceDictionary>
  15. </ResourceDictionary.MergedDictionaries>
  16. <common:SigResourceConverter x:Key="SigResourceConverter"></common:SigResourceConverter>
  17. </ResourceDictionary>
  18. </UserControl.Resources>
  19. <Grid>
  20. <TabControl Style="{StaticResource LineTabControlStyle}"
  21. Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type Grid}}}"
  22. Height="{Binding ActualHeight, RelativeSource={RelativeSource AncestorType={x:Type Grid}}}">
  23. <TabItem Header="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Text_Summary}" Style="{StaticResource LineTabItemStyle}">
  24. <Grid>
  25. <local:SummaryControl x:Name="SummaryControl" Height="160" VerticalAlignment="Top"></local:SummaryControl>
  26. </Grid>
  27. </TabItem>
  28. <TabItem Header="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Text_Details}" Style="{StaticResource LineTabItemStyle}">
  29. <Grid>
  30. <local:CertificateDetailControl x:Name="CertificateDetailControl" Height="450" VerticalAlignment="Top"></local:CertificateDetailControl>
  31. </Grid>
  32. </TabItem>
  33. <TabItem Header="{Binding Converter={StaticResource SigResourceConverter},ConverterParameter=Title_Trust}" Style="{StaticResource LineTabItemStyle}">
  34. <Grid>
  35. <Grid.RowDefinitions>
  36. <RowDefinition Height="150"></RowDefinition>
  37. <RowDefinition></RowDefinition>
  38. </Grid.RowDefinitions>
  39. <local:ConfidenceControl x:Name="ConfidenceControl"></local:ConfidenceControl>
  40. </Grid>
  41. </TabItem>
  42. </TabControl>
  43. </Grid>
  44. </UserControl>