1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <fluent:RibbonWindow x:Class="PRSDesktop.SecondaryWindow"
- xmlns:fluent="urn:fluent-ribbon"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:themes="clr-namespace:InABox.WPF.Themes;assembly=InABox.Wpf"
- xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
- syncfusion:SkinStorage.VisualStyle="Office2013"
- mc:Ignorable="d"
- Title="SecondaryWindow"
- Height="450"
- Width="800"
- Loaded="Window_Loaded"
- SizeChanged="Window_SizeChanged"
- LocationChanged="Window_LocationChanged"
- Closing="Window_Closing"
- Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
- Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
- TitleBackground="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
- TitleForeground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}"
- NonActiveBorderBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}">
- <!-- GlowBrush="{Binding Path=(themes:ThemeManager.BackstageBackgroundBrush)}" -->
- <!-- NonActiveGlowBrush="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}" -->
- <fluent:RibbonWindow.Resources>
- <ResourceDictionary>
- </ResourceDictionary>
- </fluent:RibbonWindow.Resources>
- <Grid Background="WhiteSmoke">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <!--syncfusion:Ribbon x:Name="_ribbon" Grid.Row="0" syncfusion:Ribbon.IsAutoSizeFormEnabled="False"
- RibbonState="Normal" MinimizeButtonVisibility="Collapsed" Background="White"
- Style="{StaticResource RibbonStyle}" Margin="-1"-->
- <fluent:Ribbon x:Name="_ribbon" Grid.Row="0" Grid.ColumnSpan="2" IsCollapsed="False"
- Background="{Binding Path=(themes:ThemeManager.WorkspaceBackgroundBrush)}"
- Foreground="{Binding Path=(themes:ThemeManager.WorkspaceForegroundBrush)}">
- <fluent:RibbonTabItem x:Name="SecondaryTab" Header="Quotes" Visibility="Visible">
- <fluent:RibbonGroupBox x:Name="Actions" Header="Actions">
- <fluent:Button x:Name="Refresh" Header="Refresh"
- LargeIcon="pack://application:,,,/Resources/refresh.png"
- Click="RefreshMenu_Click"/>
- <syncfusion:RibbonSeparator x:Name="ActionsSeparator"/>
- </fluent:RibbonGroupBox>
- <fluent:RibbonGroupBox x:Name="Print" Header="Print" Width="Auto" MinWidth="60"/>
- </fluent:RibbonTabItem>
- </fluent:Ribbon>
- <Grid Grid.Row="0" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <fluent:Button x:Name="SetupButton"
- Grid.Row="0" Grid.Column="0"
- Header="Setup"
- LargeIcon="pack://application:,,,/Resources/view.png"
- Click="Setup_Click"
- Margin="0,35,5,20"/>
- </Grid>
- <Border x:Name="ContentBorder"
- Grid.Row="1" Margin="-1" Padding="3"
- Grid.ColumnSpan="2"/>
- </Grid>
- </fluent:RibbonWindow>
|