<Button Grid.Row="0" Grid.Column="2" x:Name="btnSelect_Album" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="1,0,0,0" FontFamily="Segoe UI Symbol" FontSize="26" >
<SymbolIcon Symbol="ShowBcc" />
<Button.Flyout >
<Flyout x:Name="menuFolders" >
<Flyout.FlyoutPresenterStyle >
<Style TargetType="FlyoutPresenter"
>
<Setter Property="Padding" Value="0"/>
<Setter Property="Margin" Value="0"/>
</Style>
</Flyout.FlyoutPresenterStyle >
<Grid Name="gridMenu_Album_Folders" Margin="0" Padding="0" BorderBrush="Red" BorderThickness="2" >
<Grid.RowDefinitions >
<RowDefinition Height="40" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock x:Name="tbxAlbumFolder_actual" VerticalAlignment="Stretch" Margin="2,0,0,0" HorizontalAlignment="Left"
Text="{Binding ElementName=tbxAlbum_Path, Path=Text }"
>
</TextBlock>
<Button Grid.Row="0" x:Name="btnAlbumFolder_New" HorizontalAlignment="Right" VerticalAlignment="Stretch" Margin="0,0,0,0" Click="btnAlbumFolder_New_Click" FontFamily="Segoe UI Symbol" FontSize="26" >
<SymbolIcon Symbol="More" />
</Button>
<ListBox Grid.Row="1" Name="lstAlbum_Folders"
Margin="4" Padding="0" >
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="Padding" Value="2"/>
<Setter Property="Margin" Value="0"/>
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
</Style>
</ListBox.ItemContainerStyle>
</ListBox>
</Grid>
</Flyout>
</Button.Flyout>
</Button>
|