@@ -27,6 +27,8 @@ public partial class View // SuperView/SubView hierarchy management (SuperView,
27
27
/// Gets this Views SuperView (the View's container), or <see langword="null"/> if this view has not been added as a
28
28
/// SubView.
29
29
/// </summary>
30
+ /// <seealso cref="OnSuperViewChanged"/>
31
+ /// <seealso cref="SuperViewChanged"/>
30
32
public View ? SuperView
31
33
{
32
34
get => _superView ! ;
@@ -66,8 +68,10 @@ protected virtual void OnSuperViewChanged (SuperViewChangedEventArgs e) { }
66
68
/// <summary>Adds a SubView (child) to this view.</summary>
67
69
/// <remarks>
68
70
/// <para>
69
- /// The Views that have been added to this view can be retrieved via the <see cref="SubViews"/> property. See also
70
- /// <seealso cref="Remove(View)"/> <seealso cref="RemoveAll"/>
71
+ /// The Views that have been added to this view can be retrieved via the <see cref="SubViews"/> property.
72
+ /// </para>
73
+ /// <para>
74
+ /// To check if a View has been added to this View, compare it's <see cref="SuperView"/> property to this View.
71
75
/// </para>
72
76
/// <para>
73
77
/// SubViews will be disposed when this View is disposed. In other-words, calling this method causes
@@ -76,9 +80,17 @@ protected virtual void OnSuperViewChanged (SuperViewChangedEventArgs e) { }
76
80
/// <para>
77
81
/// Calls/Raises the <see cref="OnSubViewAdded"/>/<see cref="SubViewAdded"/> event.
78
82
/// </para>
83
+ /// <para>
84
+ /// The <see cref="OnSuperViewChanged"/>/<see cref="SuperViewChanged"/> event will be raised on the added View.
85
+ /// </para>
79
86
/// </remarks>
80
87
/// <param name="view">The view to add.</param>
81
88
/// <returns>The view that was added.</returns>
89
+ /// <seealso cref="Remove(View)"/>
90
+ /// <seealso cref="RemoveAll"/>
91
+ /// <seealso cref="OnSubViewAdded"/>
92
+ /// <seealso cref="SubViewAdded"/>
93
+
82
94
public virtual View ? Add ( View ? view )
83
95
{
84
96
if ( view is null )
@@ -191,10 +203,15 @@ protected virtual void OnSubViewAdded (View view) { }
191
203
/// <para>
192
204
/// Calls/Raises the <see cref="OnSubViewRemoved"/>/<see cref="SubViewRemoved"/> event.
193
205
/// </para>
206
+ /// <para>
207
+ /// The <see cref="OnSuperViewChanged"/>/<see cref="SuperViewChanged"/> event will be raised on the removed View.
208
+ /// </para>
194
209
/// </remarks>
195
210
/// <returns>
196
211
/// The removed View. <see langword="null"/> if the View could not be removed.
197
212
/// </returns>
213
+ /// <seealso cref="OnSubViewRemoved"/>
214
+ /// <seealso cref="SubViewRemoved"/>"/>
198
215
public virtual View ? Remove ( View ? view )
199
216
{
200
217
if ( view is null )
0 commit comments