1. nuget
Install-Package CefSharp.Wpf -Version 63.0.0
1.2 Restart Visual Studio.
2. config project
3. bin folder modified
XAML
<UserControl x:Class="gNcApp.View.webUserControl"
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:gNcApp.View"
xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<cefSharp:ChromiumWebBrowser
x:Name="cefSharp" />
</Grid>
</UserControl>
'C#(CSharp) > WPF' 카테고리의 다른 글
Layout two controls on a line in a stretchable WPF window (0) | 2018.02.19 |
---|---|
UI mvvm databinding dispatcher (0) | 2018.02.13 |
ObservableCollection 바인딩(Binding) (0) | 2015.04.08 |
결합 속성(?) Attached Property (0) | 2015.04.08 |
의존 속성(Dependency Object) (0) | 2015.04.08 |