-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathApp.xaml
23 lines (23 loc) · 1.27 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Application x:Class="WPF_AIChatControl.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WPF_AIChatControl"
xmlns:dxi="http://schemas.devexpress.com/winfx/2008/xaml/core/internal"
StartupUri="MainWindow.xaml">
<Application.Resources>
<Style TargetType="local:AIChatControl">
<Setter Property="Background" Value="{dxi:ThemeResource ThemeKey='Brush.WindowBackground'}"/>
<Setter Property="Foreground" Value="{dxi:ThemeResource ThemeKey='Brush.Foreground.Primary'}"/>
<Setter Property="ControlBackground" Value="{dxi:ThemeResource ThemeKey='Brush.Editor.Background'}"/>
<Setter Property="ItemBackground" Value="{dxi:ThemeResource ThemeKey='Brush.ListItem.SelectionAlt'}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<local:ChatBlazorWebView x:Name="PART_ChatWebView"
Margin="2"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Application.Resources>
</Application>