Version

InitializeLayout Event (UltraGridComboColumn)

Occurs when the display layout is initialized, such as when the control is loading data from the data source.
Syntax
'Declaration
 
Public Event InitializeLayout As InitializeLayoutEventHandler
public event InitializeLayoutEventHandler InitializeLayout
Event Data

The event handler receives an argument of type InitializeLayoutEventArgs containing data related to this event. The following InitializeLayoutEventArgs properties provide information specific to this event.

PropertyDescription
Layout UltraGridLayout
Remarks

The layout argument returns a reference to a DisplayLayout object that can be used to set properties of, and invoke methods on, the layout of the control. You can use this reference to access any of the returned layout's properties or methods.

Like a form's oad event, this event provides an opportunity to configure the control before it is displayed. It is in this event procedure that actions such as creating appearances, valuelists, and unbound columns should take place.

This event is generated when the control is first preparing to display data from the data source. This may occur when the data source changes, or when the Refresh method is invoked.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also