mirror of https://github.com/cefsharp/CefSharp.git
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.
27 lines
608 B
27 lines
608 B
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Windows;
|
|
|
|
namespace CefSharp.Wpf.Example
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for TestWindow.xaml
|
|
/// </summary>
|
|
public partial class StandardTabControlWindow : Window
|
|
{
|
|
public List<ChromiumWebBrowser> Tabs { get; }
|
|
|
|
public StandardTabControlWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
Tabs = Enumerable.Range(1, 10).Select(x => new ChromiumWebBrowser
|
|
{
|
|
Address = "google.com"
|
|
}).ToList();
|
|
|
|
DataContext = this;
|
|
|
|
}
|
|
}
|
|
}
|