VisualTreeChangeEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for changes in the visual tree, such as when a child is added or removed.
public ref class VisualTreeChangeEventArgs : EventArgs
public class VisualTreeChangeEventArgs : EventArgs
type VisualTreeChangeEventArgs = class
inherit EventArgs
Public Class VisualTreeChangeEventArgs
Inherits EventArgs
- Inheritance
-
VisualTreeChangeEventArgs
Constructors
| VisualTreeChangeEventArgs(Object, Object, Int32, VisualTreeChangeType) |
Initializes a new instance of VisualTreeChangeEventArgs. |
Properties
| ChangeType |
Gets the type of visual tree change that occurred (Add or Remove). |
| Child |
Gets the child visual element involved in the change. |
| ChildIndex |
Gets the logical index of the child within its parent at the time of change. |
| Parent |
Gets the parent visual element involved in the change, or null if this is the root. |