Browse Source

Update Visual.cs documentation

`OnAttachedToVisualTree`/`OnDetachedFromVisualTree`  is called only for root visual tree. Keep xmldoc in line with event description.
pull/4604/head
ShadowDancer 6 years ago
committed by GitHub
parent
commit
9e7c4d1b09
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Avalonia.Visuals/Visual.cs

4
src/Avalonia.Visuals/Visual.cs

@ -455,7 +455,7 @@ namespace Avalonia
}
/// <summary>
/// Called when the control is added to a visual tree.
/// Called when the control is added to a rooted visual tree.
/// </summary>
/// <param name="e">The event args.</param>
protected virtual void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)
@ -463,7 +463,7 @@ namespace Avalonia
}
/// <summary>
/// Called when the control is removed from a visual tree.
/// Called when the control is removed from a rooted visual tree.
/// </summary>
/// <param name="e">The event args.</param>
protected virtual void OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs e)

Loading…
Cancel
Save