MainPage.xaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <DisplayPreferences:BaseDisplayPreferencesPage x:Class="MediaBrowser.Plugins.DefaultTheme.DisplayPreferences.MainPage"
  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:DisplayPreferences="clr-namespace:MediaBrowser.Plugins.DefaultTheme.DisplayPreferences"
  7. xmlns:controls="clr-namespace:MediaBrowser.UI.Controls;assembly=MediaBrowser.UI.Controls"
  8. mc:Ignorable="d"
  9. d:DesignHeight="300" d:DesignWidth="300"
  10. Title="MainPage">
  11. <Grid>
  12. <StackPanel Orientation="Vertical">
  13. <TextBlock Style="{StaticResource Heading2TextBlockStyle}">Display Options</TextBlock>
  14. <controls:ExtendedButton x:Name="ViewMenuButton" Style="{StaticResource ViewMenuButton}">
  15. <StackPanel Orientation="Horizontal">
  16. <Image Source="..\Resources\Images\ViewMenu\View.png" Stretch="None" />
  17. <TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">View Menu</TextBlock>
  18. </StackPanel>
  19. </controls:ExtendedButton>
  20. <controls:ExtendedButton x:Name="SortMenuButton" Style="{StaticResource ViewMenuButton}">
  21. <StackPanel Orientation="Horizontal">
  22. <Image Source="..\Resources\Images\ViewMenu\Sort.png" Stretch="None" />
  23. <TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Sort Menu</TextBlock>
  24. </StackPanel>
  25. </controls:ExtendedButton>
  26. <controls:ExtendedButton x:Name="IndexMenuButton" Style="{StaticResource ViewMenuButton}">
  27. <StackPanel Orientation="Horizontal">
  28. <Image Source="..\Resources\Images\ViewMenu\Index.png" Stretch="None" />
  29. <TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Index Menu</TextBlock>
  30. </StackPanel>
  31. </controls:ExtendedButton>
  32. <controls:ExtendedButton x:Name="btnIncrease" Style="{StaticResource ViewMenuButton}">
  33. <StackPanel Orientation="Horizontal">
  34. <Image Source="..\Resources\Images\ViewMenu\Increase.png" Stretch="None" />
  35. <TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Increase Image Size</TextBlock>
  36. </StackPanel>
  37. </controls:ExtendedButton>
  38. <controls:ExtendedButton x:Name="btnDecrease" Style="{StaticResource ViewMenuButton}">
  39. <StackPanel Orientation="Horizontal">
  40. <Image Source="..\Resources\Images\ViewMenu\Decrease.png" Stretch="None" />
  41. <TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Decrease Image Size</TextBlock>
  42. </StackPanel>
  43. </controls:ExtendedButton>
  44. <controls:ExtendedButton x:Name="btnScroll" Style="{StaticResource ViewMenuButton}">
  45. <StackPanel Orientation="Horizontal">
  46. <Image Source="..\Resources\Images\ViewMenu\Scroll.png" Stretch="None" />
  47. <TextBlock x:Name="txtScrollDirection" Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Scroll: Vertical</TextBlock>
  48. </StackPanel>
  49. </controls:ExtendedButton>
  50. </StackPanel>
  51. </Grid>
  52. </DisplayPreferences:BaseDisplayPreferencesPage>