Skip to content

Commit e7886e1

Browse files
committed
Added Button Flyout to Generic View
1 parent 956edd4 commit e7886e1

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Files.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
<AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
2525
<AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency>
2626
<AppxPackageDir>C:\Users\lukeb\Documents\Packages\</AppxPackageDir>
27-
<PackageCertificateThumbprint>BF3562C511CDFB8E5D64D0E2417E07562882BB2B</PackageCertificateThumbprint>
27+
<PackageCertificateThumbprint>8B355EE80FDC6E5376DCC25B991A3CDED92C4333</PackageCertificateThumbprint>
28+
<AppxBundle>Always</AppxBundle>
2829
</PropertyGroup>
2930
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
3031
<DebugSymbols>true</DebugSymbols>

GenericFileBrowser.xaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@
141141
<Button BorderThickness="1.5" Style="{ThemeResource ButtonRevealStyle}" IsEnabled="{x:Bind local2:ItemViewModel.FS.isEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" x:Name="Forward" Foreground="Black" Content="&#xE76C;" FontFamily="Segoe MDL2 Assets" Background="#33FFFFFF" Margin="95,52,0,0" FontSize="20" VerticalAlignment="Top" Height="50" Width="50" HorizontalAlignment="Left"/>
142142
</Grid>
143143
<Button x:Name="Refresh" BorderThickness="1.5" Style="{ThemeResource ButtonRevealStyle}" Foreground="Black" Content="&#xE72C;" FontFamily="Segoe MDL2 Assets" Background="#33FFFFFF" FontSize="20" Margin="150,52,0,0" VerticalAlignment="Top" Width="50" Height="50" />
144+
<Button x:Name="Menu" BorderThickness="1.5" Style="{ThemeResource ButtonRevealStyle}" Foreground="Black" Content="&#xE712;" FontFamily="Segoe MDL2 Assets" Background="#33FFFFFF" FontSize="20" Margin="150,52,40,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="50" Height="50">
145+
<Button.Flyout>
146+
<MenuFlyout>
147+
<MenuFlyoutItem Text="New..."/>
148+
<MenuFlyoutItem Text="Paste"/>
149+
<MenuFlyoutItem Text="Copy Path"/>
150+
<MenuFlyoutItem Text="Change View Mode..."/>
151+
</MenuFlyout>
152+
</Button.Flyout>
153+
</Button>
144154
<ScrollViewer HorizontalScrollMode="Auto" HorizontalScrollBarVisibility="Auto" Margin="50,126,50,25" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
145155
<TextBlock x:Name="VisiblePath" Text="{x:Bind local:GenericFileBrowser.P.path ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="0,0,0,0" FontFamily="Segoe UI Black" FontWeight="Bold" FontSize="32" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" VerticalAlignment="Top" HorizontalAlignment="Stretch"></TextBlock>
146156
</ScrollViewer>

0 commit comments

Comments
 (0)