| | |
| | | <!--
|
| | | *****************************************************************************
|
| | | **
|
| | | ** Copyright (C) 2016 The Qt Company Ltd.
|
| | | ** Copyright (C) 2022 The Qt Company Ltd.
|
| | | ** Contact: https://www.qt.io/licensing/
|
| | | **
|
| | | ** This file is part of the Qt VS Tools.
|
| | |
| | | *****************************************************************************
|
| | | -->
|
| | |
|
| | | <local:VsToolsDialogWindow x:Class="QtVsTools.QtHelpLinkChooser"
|
| | | 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:QtVsTools"
|
| | | Width="400"
|
| | | Height="250"
|
| | | MinWidth="400"
|
| | | MinHeight="250"
|
| | | mc:Ignorable="d"
|
| | | Title="Choose Topic"
|
| | | ShowInTaskbar="False"
|
| | | HasHelpButton="False"
|
| | | HasMinimizeButton="False"
|
| | | ResizeMode="CanResizeWithGrip"
|
| | | WindowStartupLocation="CenterOwner">
|
| | | <local:VsToolsDialogWindow.Resources>
|
| | | <BooleanToVisibilityConverter x:Key="b2v" />
|
| | | <vsui:DialogWindow x:Class="QtVsTools.QtHelpLinkChooser"
|
| | | 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:vsui="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0"
|
| | | Width="400"
|
| | | Height="250"
|
| | | MinWidth="400"
|
| | | MinHeight="250"
|
| | | mc:Ignorable="d"
|
| | | Title="Choose Topic"
|
| | | ShowInTaskbar="False"
|
| | | HasHelpButton="False"
|
| | | HasMinimizeButton="False"
|
| | | ResizeMode="CanResizeWithGrip"
|
| | | WindowStartupLocation="CenterOwner">
|
| | | <vsui:DialogWindow.Resources>
|
| | | <Style x:Key="ListBoxDoubleClickStyle"
|
| | | TargetType="ListBoxItem">
|
| | | <EventSetter Event="MouseDoubleClick"
|
| | | Handler="OnListBoxItem_DoubleClick" />
|
| | | </Style>
|
| | | </local:VsToolsDialogWindow.Resources>
|
| | | <Grid Margin="10"
|
| | | FocusManager.FocusedElement="{Binding ElementName=searchBox}">
|
| | | </vsui:DialogWindow.Resources>
|
| | | <Grid Margin="10">
|
| | | <Grid.RowDefinitions>
|
| | | <RowDefinition Height="Auto" />
|
| | | <RowDefinition Height="Auto" />
|
| | |
| | | Text="{Binding Path=Keyword}" />
|
| | | <Run Text=":" />
|
| | | </TextBlock>
|
| | | <Grid Grid.Row="1"
|
| | | MinHeight="22"
|
| | | Background="White">
|
| | | <TextBlock Text=" Filter..."
|
| | | Foreground="LightSteelBlue"
|
| | | VerticalAlignment="Center"
|
| | | Visibility="{Binding ElementName=searchBox,
|
| | | Path=Text.IsEmpty, Converter={StaticResource b2v}}" />
|
| | | <TextBox Name="searchBox"
|
| | | Background="Transparent"
|
| | | TextChanged="OnSearchBox_TextChanged"
|
| | | VerticalContentAlignment="Center" />
|
| | | <Grid Grid.Row="1">
|
| | | <Grid Name="searchControlHost" />
|
| | | </Grid>
|
| | | <ListBox Grid.Row="2"
|
| | | Margin="0,10,0,0"
|
| | |
| | | Margin="0,10,0,0" />
|
| | | </StackPanel>
|
| | | </Grid>
|
| | | </local:VsToolsDialogWindow>
|
| | | </vsui:DialogWindow>
|