Back to Devexpress

DataLayoutControl.AutoGeneratingItem Event

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-datalayoutcontrol-04f349f3.md

latest2.3 KB
Original Source

DataLayoutControl.AutoGeneratingItem Event

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

Namespace : DevExpress.Xpf.LayoutControl

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public event EventHandler<DataLayoutControlAutoGeneratingItemEventArgs> AutoGeneratingItem
vb
Public Event AutoGeneratingItem As EventHandler(Of DataLayoutControlAutoGeneratingItemEventArgs)

Event Data

The AutoGeneratingItem event's data class is DataLayoutControlAutoGeneratingItemEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
ItemGets or sets the item that has been generated.
PropertyNameGets the name of the property to which the generated layout item is bound.
PropertyTypeGets the type of the bound property.

Remarks

Set the Cancel property to true to undo the automatic layout item generation.

See Also

DataLayoutControl Class

DataLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace