mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Expose index file suffixes config [WIP]
This commit is contained in:
32
Wox.Plugin.SystemPlugins/Program/ProgramSuffixes.xaml
Normal file
32
Wox.Plugin.SystemPlugins/Program/ProgramSuffixes.xaml
Normal file
@@ -0,0 +1,32 @@
|
||||
<Window x:Class="Wox.Plugin.SystemPlugins.Program.ProgramSuffixes"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="300">
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="50"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ListView x:Name="lvProgramSuffixes" Grid.Row="0" ItemsSource="{Binding UserSettingStorage.Instance.ProgramSuffixes}">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="Suffixes" Width="200">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding}"/>
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<Button x:Name="btnDelete" Click="btnDelete_OnClick" Width="100" Margin="10" Content="Delete"/>
|
||||
<Button x:Name="btnEdit" Click="btnEdit_OnClick" Width="100" Margin="10" Content="Edit"/>
|
||||
<Button x:Name="btnAdd" Click="btnAdd_OnClick" Width="100" Margin="10" Content="Add"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user