@@ -11,6 +11,13 @@ public class LifeSpanHandlerBuilder
11
11
{
12
12
private readonly LifeSpanHandler handler ;
13
13
14
+ /// <summary>
15
+ /// LifeSpanHandlerBuilder
16
+ /// </summary>
17
+ /// <param name="chromiumHostControlCreatedDelegate">
18
+ /// When specified the delegate will be used to create the <see cref="Host.ChromiumHostControl"/>
19
+ /// instance. Allowing users to create their own custom instance that extends <see cref="Host.ChromiumHostControl"/>
20
+ /// </param>
14
21
public LifeSpanHandlerBuilder ( CreatePopupChromiumHostControl chromiumHostControlCreatedDelegate )
15
22
{
16
23
handler = new LifeSpanHandler ( chromiumHostControlCreatedDelegate ) ;
@@ -30,9 +37,9 @@ public LifeSpanHandlerBuilder OnBeforePopupCreated(OnBeforePopupCreatedDelegate
30
37
}
31
38
32
39
/// <summary>
33
- /// The <see cref="OnPopupCreatedDelegate"/> will be called when the<see cref="ChromiumHostControl"/> has been
40
+ /// The <see cref="OnPopupCreatedDelegate"/> will be called when the<see cref="Host. ChromiumHostControl"/> has been
34
41
/// created. When the <see cref="OnPopupCreatedDelegate"/> is called you must add the control to it's intended parent
35
- /// so the <see cref="Control.ClientRectangle"/> can be calculated to set the initial
42
+ /// so the <see cref="System.Windows.Forms. Control.ClientRectangle"/> can be calculated to set the initial
36
43
/// size correctly.
37
44
/// </summary>
38
45
/// <param name="onPopupCreated">Action to be invoked when the Popup is to be destroyed.</param>
@@ -60,9 +67,9 @@ public LifeSpanHandlerBuilder OnPopupBrowserCreated(OnPopupBrowserCreatedDelegat
60
67
}
61
68
62
69
/// <summary>
63
- /// The <see cref="OnPopupDestroyedDelegate"/> will be called when the <see cref="ChromiumHostControl"/> is to be
70
+ /// The <see cref="OnPopupDestroyedDelegate"/> will be called when the <see cref="Host. ChromiumHostControl"/> is to be
64
71
/// removed from it's parent.
65
- /// When the <see cref="OnPopupDestroyedDelegate"/> is called you must remove/dispose of the <see cref="ChromiumHostControl"/>.
72
+ /// When the <see cref="OnPopupDestroyedDelegate"/> is called you must remove/dispose of the <see cref="Host. ChromiumHostControl"/>.
66
73
/// </summary>
67
74
/// <param name="onPopupDestroyed">Action to be invoked when the Popup is to be destroyed.</param>
68
75
/// <returns><see cref="LifeSpanHandlerBuilder"/> instance allowing you to chain method calls together</returns>
0 commit comments