New to Telerik UI for WinForms? Start a free 30-day trial

Provides the item for which a visual element is being created and allows its element type to be changed.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CreatePropertyGridItemElementEventArgs : EventArgs

Inheritance: objectEventArgsCreatePropertyGridItemElementEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes visual-element creation data for the specified item.

C#
public CreatePropertyGridItemElementEventArgs(PropertyGridItemBase item)
Parameters:itemPropertyGridItemBase

The item that the visual element will represent.

Properties

Gets the item that the created visual element will represent.

C#
public PropertyGridItemBase Item { get; }

Gets or sets the element type to instantiate. The selected type must derive from PropertyGridItemElementBase and provide a public parameterless constructor; null leaves creation to the base provider.

C#
public Type ItemElementType { get; set; }