You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Plugins.Defaul.../DisplayPreferences/DisplayPreferencesMenu.xaml

48 lines
2.7 KiB

<controls:BaseModalWindow x:Class="MediaBrowser.Plugins.DefaultTheme.DisplayPreferences.DisplayPreferencesMenu"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ee="http://schemas.microsoft.com/expression/2010/effects"
xmlns:controls="clr-namespace:MediaBrowser.UI.Controls;assembly=MediaBrowser.UI.Controls"
Title="DisplayPreferencesMenu" Height="300" Width="300"
AllowsTransparency="True"
Background="Transparent"
Style="{StaticResource ModalWindow}">
<Grid>
<Grid Style="{StaticResource ModalOverlayStyle}">
</Grid>
<Grid Style="{StaticResource ModalContentStyle}" HorizontalAlignment="Right" VerticalAlignment="Stretch">
<Grid Margin="50 50 120 0">
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<controls:TransitionFrame x:Name="PageFrame" Grid.Row="0" MinWidth="400" MinHeight="550">
<controls:TransitionFrame.TransitionAnimation>
<DoubleAnimation Duration="0:0:0.35" >
<DoubleAnimation.EasingFunction>
<ExponentialEase EasingMode="EaseInOut"></ExponentialEase>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</controls:TransitionFrame.TransitionAnimation>
<controls:TransitionFrame.TransitionType>
<ee:WipeTransitionEffect WipeDirection="RightToLeft"></ee:WipeTransitionEffect>
</controls:TransitionFrame.TransitionType>
</controls:TransitionFrame>
<controls:ExtendedButton x:Name="btnClose" Style="{StaticResource ViewMenuButton}" HorizontalAlignment="Left" Margin="0 50 0 0" Grid.Row="1">
<StackPanel Orientation="Horizontal">
<Image Source="..\Resources\Images\ViewMenu\Close.png" Stretch="None" />
<TextBlock Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center" Margin="10 0 0 0">Close</TextBlock>
</StackPanel>
</controls:ExtendedButton>
</Grid>
</Grid>
<Grid.LayoutTransform>
<ScaleTransform ScaleX="{Binding Path=ContentScale}" ScaleY="{Binding Path=ContentScale}" CenterX="0" CenterY="0" />
</Grid.LayoutTransform>
</Grid>
</controls:BaseModalWindow>