Class ContainmentChangedEventArgs
The class that represents the event arguments for the ContainmentChanged event.
Inheritance
System.Object
ContainmentChangedEventArgs
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ContainmentChangedEventArgs : EventArgs
Constructors
ContainmentChangedEventArgs(Object, Boolean)
Creates a new instance of ContainmentChangedEventArgs.
Declaration
public ContainmentChangedEventArgs(object parent, bool inserted)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | parent | The destination ParentBarItem or Bar. |
| System.Boolean | inserted | Indicates whether the BarItem was inserted or removed. |
Properties
Inserted
Indicates whether the BarItem has been inserted or removed.
Declaration
public bool Inserted { get; }
Property Value
| Type |
|---|
| System.Boolean |
Parent
Returns the new logical parent from which the BarItem was removed or into which the BarItem was inserted.
Declaration
public object Parent { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | This object could be a ParentBarItem or a Bar. |