Provides the requested type and parent for a new item and accepts an optional replacement item.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class CreatePropertyGridItemEventArgs : EventArgs
Inheritance: objectEventArgsCreatePropertyGridItemEventArgs
Inherited Members
Constructors
Initializes item-creation data for an item under the specified parent.
C#
public CreatePropertyGridItemEventArgs(Type itemType, PropertyGridItem parent)
The type requested by the item-creation caller.
parentPropertyGridItemThe parent item, or null for a top-level item.
Initializes item-creation data for a top-level item.
C#
public CreatePropertyGridItemEventArgs(Type itemType)
The type requested by the item-creation caller.
Properties
Gets or sets the item supplied by the creation handler. A PropertyGridItem is used as the replacement; otherwise, the table creates a standard item.
C#
public PropertyGridItemBase Item { get; set; }
Gets the parent item requested for the new item.
C#
public PropertyGridItem Parent { get; }