CloudDiskContent.xaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <UserControl x:Class="PDF_Office.Views.HomePanel.CloudDocs.CloudDiskContent"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Office.Views.HomePanel.CloudDocs"
  7. mc:Ignorable="d" Background="White"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid Margin="44,38,0,0">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="auto"/>
  12. <RowDefinition Height="auto"/>
  13. </Grid.RowDefinitions>
  14. <Grid HorizontalAlignment="Stretch">
  15. <TextBlock Text="Cloud disk" HorizontalAlignment="Left"/>
  16. <ComboBox x:Name="combCloudDisk" Width="115" Height="32" Background="Wheat" HorizontalAlignment="Right"/>
  17. </Grid>
  18. <ListBox x:Name="ListCloudDisk" Grid.Row="1">
  19.  
  20. <ListBox.ItemsPanel>
  21. <ItemsPanelTemplate>
  22. <UniformGrid Columns="4"/>
  23. </ItemsPanelTemplate>
  24. </ListBox.ItemsPanel>
  25. <ListBox.ItemTemplate>
  26. <DataTemplate>
  27. <Border Background="#DBDBDB" Width="218" Height="172">
  28. <TextBlock Text="{Binding}"/>
  29. </Border>
  30. </DataTemplate>
  31. </ListBox.ItemTemplate>
  32. </ListBox>
  33. </Grid>
  34. </UserControl>