Bewerken

Delen via


ChildChangedEventArgs Class

Definition

Provides data for the ChildChanged and ChildChanged events.

public ref class ChildChangedEventArgs : EventArgs
public class ChildChangedEventArgs : EventArgs
type ChildChangedEventArgs = class
    inherit EventArgs
Public Class ChildChangedEventArgs
Inherits EventArgs
Inheritance
ChildChangedEventArgs

Remarks

The ChildChangedEventArgs class is used by the WindowsFormsHost and ElementHost classes when the values of the WindowsFormsHost.Child or ElementHost.Child properties change.

Use the PreviousChild property to get the previously assigned child control or element.

Constructors

ChildChangedEventArgs(Object)

Initializes a new instance of the ChildChangedEventArgs class.

Properties

PreviousChild

Gets the value of the Child property before the new value was assigned.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also