Summary
Holds the event arguments for the
AttachedToVisualTree
and
DetachedFromVisualTree
events.
- Namespace
- Avalonia
- Base Types
-
- object
- EventArgs
graph BT
Type-->Base0["EventArgs"]
Base0-->Base1["object"]
Type["VisualTreeAttachmentEventArgs"]
class Type type-node
Syntax
public class VisualTreeAttachmentEventArgs : EventArgs
Constructors
Name | Summary |
---|---|
Visual |
Initializes a new instance of the VisualTreeAttachmentEventArgs class.
|
Properties
Name | Value | Summary |
---|---|---|
Parent | IVisual |
Gets the parent that the visual is being attached to or detached from.
|
Root | IRenderRoot |
Gets the root of the visual tree that the visual is being attached to or detached from.
|