|
738 | 738 | </ListBox>
|
739 | 739 | </Border>
|
740 | 740 |
|
741 |
| - <!-- |
742 |
| - <Border BorderThickness="1 2 0 0" BorderBrush="#f3f3f3" Grid.Column="2" Grid.RowSpan="2" Padding="12 12 12 12"> |
743 |
| - <Grid Grid.Column="1" Grid.RowSpan="2"> |
744 |
| - <Grid.RowDefinitions> |
745 |
| - <RowDefinition Height="Auto" /> |
746 |
| - <RowDefinition Height="*" /> |
747 |
| - </Grid.RowDefinitions> |
748 |
| - |
749 |
| - <ContentControl DataContext="{Binding Path=SelectedPlugin}" |
750 |
| - Grid.ColumnSpan="1" Grid.Row="0" Margin="10 10 10 0"> |
751 |
| - <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> |
752 |
| - <Grid.ColumnDefinitions> |
753 |
| - <ColumnDefinition Width="48" /> |
754 |
| - <ColumnDefinition /> |
755 |
| - </Grid.ColumnDefinitions> |
756 |
| - <Grid.RowDefinitions> |
757 |
| - <RowDefinition/> |
758 |
| - <RowDefinition/> |
759 |
| - <RowDefinition/> |
760 |
| - </Grid.RowDefinitions> |
761 |
| - |
762 |
| - <Image Source="{Binding Image, IsAsync=True}" |
763 |
| - Width="48" Height="48" |
764 |
| - HorizontalAlignment="Left" VerticalAlignment="Top" |
765 |
| - Grid.RowSpan="2"/> |
766 |
| - <Grid Grid.Row="0" Grid.Column="1" |
767 |
| - Margin="20,0,0,0"> |
768 |
| - <TextBlock Text="{Binding PluginPair.Metadata.Name}" |
769 |
| - Grid.Column="0" |
770 |
| - Cursor="Hand" MouseUp="OnPluginNameClick" FontSize="24" |
771 |
| - HorizontalAlignment="Left"> |
772 |
| - <ToolTipService.ToolTip> |
773 |
| - <TextBlock> |
774 |
| - <Run Text="{DynamicResource author}" /> |
775 |
| - <Run Text=": " /> |
776 |
| - <Run Text="{Binding PluginPair.Metadata.Author}" /> |
777 |
| - </TextBlock> |
778 |
| - </ToolTipService.ToolTip> |
779 |
| - </TextBlock> |
780 |
| - <ui:ToggleSwitch Grid.Column="1" OffContent="{DynamicResource disable}" OnContent="{DynamicResource enable}" |
781 |
| - MaxWidth="110" HorizontalAlignment="Right" |
782 |
| - IsOn="{Binding PluginState}"/> |
783 |
| - </Grid> |
784 |
| - <TextBlock Margin="20,0,0,0" |
785 |
| - Text="{Binding PluginPair.Metadata.Description}" |
786 |
| - Grid.Row="1" Opacity="0.5" Grid.Column="2" /> |
787 |
| - <DockPanel Grid.ColumnSpan="2" Grid.Row="2" Margin="0 10 0 8" HorizontalAlignment="Right"> |
788 |
| - <TextBlock Text="{DynamicResource priority}" Margin="15,0,0,0" MaxWidth="100"/> |
789 |
| - <TextBlock Text="{Binding Priority}" |
790 |
| - ToolTip="Change Plugin Results Priority" |
791 |
| - Margin="5 0 0 0" Cursor="Hand" Foreground="Blue" |
792 |
| - MouseUp="OnPluginPriorityClick"/> |
793 |
| - <TextBlock Text="{DynamicResource actionKeywords}" |
794 |
| - Visibility="{Binding ActionKeywordsVisibility}" |
795 |
| - Margin="5 0 0 0"/> |
796 |
| - <TextBlock Text="{Binding ActionKeywordsText}" |
797 |
| - Visibility="{Binding ActionKeywordsVisibility}" |
798 |
| - ToolTip="Change Action Keywords" |
799 |
| - Margin="5 0 0 0" Cursor="Hand" Foreground="Blue" |
800 |
| - MouseUp="OnPluginActionKeywordsClick" MaxWidth="100" /> |
801 |
| - <TextBlock Text="{DynamicResource plugin_init_time}" Margin="10 0 0 0" MaxWidth="100"/> |
802 |
| - <TextBlock Text="{Binding InitilizaTime}" Margin="5 0 0 0" MaxWidth="100"/> |
803 |
| - <TextBlock Text="{DynamicResource plugin_query_time}" Margin="10 0 0 0" MaxWidth="100"/> |
804 |
| - <TextBlock Text="{Binding QueryTime}" Margin="5 0 0 0" MaxWidth="100"/> |
805 |
| - <TextBlock Text="{DynamicResource pluginDirectory}" |
806 |
| - MaxWidth="120" Cursor="Hand" Margin="10,0,0,0" |
807 |
| - MouseUp="OnPluginDirecotyClick" Foreground="Blue" /> |
808 |
| - </DockPanel> |
809 |
| - </Grid> |
810 |
| - </ContentControl> |
811 |
| - |
812 |
| - <ContentControl Content="{Binding SettingProvider}" |
813 |
| - Grid.ColumnSpan="1" Grid.Row="1" |
814 |
| - HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> |
815 |
| - </Grid> |
816 |
| - </Border> |
817 |
| - --> |
818 | 741 | </Grid>
|
819 | 742 | </TabItem>
|
820 | 743 |
|
|
0 commit comments