-
Notifications
You must be signed in to change notification settings - Fork 433
Expand file tree
/
Copy pathPage1.xaml
More file actions
40 lines (40 loc) · 2.01 KB
/
Page1.xaml
File metadata and controls
40 lines (40 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Page x:Class="CefSharp.MinimalExample.WpfXBap.Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:CefSharp.MinimalExample.WpfXBap"
xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="700"
Title="Page1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<cefSharp:ChromiumWebBrowser x:Name="browser"
Address="http://www.google.com"
Title="{Binding Title, Mode=OneWayToSource}">
<FrameworkElement.LayoutTransform>
<TransformGroup>
<RotateTransform Angle="{Binding Value, ElementName=angleSlider}" />
</TransformGroup>
</FrameworkElement.LayoutTransform>
</cefSharp:ChromiumWebBrowser>
<DataGrid Name="DataRecords" Grid.Row="1" AutoGenerateColumns="False"
CanUserAddRows="False" IsReadOnly="True" EnableColumnVirtualization="False" EnableRowVirtualization="True"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<DataGrid.Columns>
<DataGridTextColumn Header="Column 1" />
<DataGridTextColumn Header="Column 2" />
<DataGridTextColumn Header="Column 3" />
<DataGridTextColumn Header="Column 4" />
<DataGridTextColumn Header="Column 5" />
<DataGridTextColumn Header="Column 6" />
<DataGridTextColumn Header="Column 7" />
<DataGridTextColumn Header="Column 8" />
</DataGrid.Columns>
</DataGrid>
</Grid>
</Page>