From 5d08078ca5d7da35eeaf9690f36cf97c01c52b7a Mon Sep 17 00:00:00 2001 From: amaitland Date: Sat, 1 Feb 2020 20:48:30 +1000 Subject: [PATCH] WinForms - Update xml doc `Dock = DockStyle.Fill` is the default Make it clear we are setting the default to DockStyle.Fill, this may not be expected by some. It has been that way for 5+ years, so changing the default would be difficult and unexpected, instead we make it clearer this is the case. Resolves #3019 --- CefSharp.WinForms/ChromiumWebBrowser.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CefSharp.WinForms/ChromiumWebBrowser.cs b/CefSharp.WinForms/ChromiumWebBrowser.cs index f1cd11680..e663c51c3 100644 --- a/CefSharp.WinForms/ChromiumWebBrowser.cs +++ b/CefSharp.WinForms/ChromiumWebBrowser.cs @@ -416,10 +416,12 @@ namespace CefSharp.WinForms /// /// Initializes a new instance of the class. + /// **Important** - When using this constructor the property + /// will default to . /// /// html string to be initially loaded in the browser. - /// Request context that will be used for this browser instance, - /// if null the Global Request Context will be used + /// (Optional) Request context that will be used for this browser instance, if null the Global + /// Request Context will be used. public ChromiumWebBrowser(HtmlString html, IRequestContext requestContext = null) : this(html.ToDataUriString(), requestContext) { @@ -427,10 +429,12 @@ namespace CefSharp.WinForms /// /// Initializes a new instance of the class. + /// **Important** - When using this constructor the property + /// will default to . /// /// The address. - /// Request context that will be used for this browser instance, - /// if null the Global Request Context will be used + /// (Optional) Request context that will be used for this browser instance, if null the Global + /// Request Context will be used. public ChromiumWebBrowser(string address, IRequestContext requestContext = null) { Dock = DockStyle.Fill;