Skip to main content

DataLayoutControl.AutoGeneratingItem Event

In This Article

Allows you to customize a layout item when its auto generation has been completed.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v14.2.dll

#Declaration

public event EventHandler<DataLayoutControlAutoGeneratingItemEventArgs> AutoGeneratingItem

#Event Data

The AutoGeneratingItem event's handler receives an argument of the DataLayoutControlAutoGeneratingItemEventArgs type. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Item Gets or sets the item that has been generated.
PropertyName Gets the name of the property to which the generated layout item is bound.
PropertyType Gets the type of the bound property.
See Also