Skip to content

Commit

Permalink
Allow sorting list by notes
Browse files Browse the repository at this point in the history
  • Loading branch information
segabl committed May 6, 2021
1 parent 2ecf194 commit b5a3706
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
<EventSetter Event="Click" Handler="OnRecentFileClick"/>
</Style>
</MenuItem.ItemContainerStyle>
<!--<MenuItem.ItemTemplate>
<DataTemplate>
<MenuItem Header="{Binding}" Click="OnRecentFileClick"></MenuItem>
</DataTemplate>
</MenuItem.ItemTemplate>-->
</MenuItem>
<Separator />
<MenuItem Header="_Exit" Click="OnExitButtonClick"/>
Expand Down Expand Up @@ -86,7 +81,7 @@
</GridViewColumn>
<GridViewColumn Header="ID" DisplayMemberBinding="{Binding Id}" />
<GridViewColumn Header="Size" DisplayMemberBinding="{Binding Size, StringFormat={}{0:0.0} KB}" />
<GridViewColumn Header="Note">
<GridViewColumn Header="Note" DisplayMemberBinding="{Binding Note}">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBox Width="96" Height="20" Padding="0,0,0,0" Margin="0, 0, 0, 0" Background="{x:Null}" BorderThickness="0" Text="{Binding Note}"></TextBox>
Expand Down

0 comments on commit b5a3706

Please sign in to comment.